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