Interface SelectionSorter<Solution_,T>
-
- Type Parameters:
Solution_
- the solution type, the class with thePlanningSolution
annotationT
- the selection type
- All Known Implementing Classes:
ComparatorSelectionSorter
,WeightFactorySelectionSorter
public interface SelectionSorter<Solution_,T>
Decides the order of aList
of selection (which is aPlanningEntity
, a planningValue, aMove
or aSelector
).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
sort(ScoreDirector<Solution_> scoreDirector, List<T> selectionList)
-
-
-
Method Detail
-
sort
void sort(ScoreDirector<Solution_> scoreDirector, List<T> selectionList)
- Parameters:
scoreDirector
- never null, theScoreDirector
which has theScoreDirector.getWorkingSolution()
to which the selections belong or apply toselectionList
- never null, aList
ofPlanningEntity
, planningValue,Move
orSelector
-
-