Solution_ - the solution typeT - the selection typepublic class WeightFactorySelectionSorter<Solution_ extends Solution,T> extends Object implements SelectionSorter<Solution_,T>
List based on a SelectionSorterWeightFactory.| Constructor and Description |
|---|
WeightFactorySelectionSorter(SelectionSorterWeightFactory<Solution_,T> selectionSorterWeightFactory,
SelectionSorterOrder selectionSorterOrder) |
public WeightFactorySelectionSorter(SelectionSorterWeightFactory<Solution_,T> selectionSorterWeightFactory, SelectionSorterOrder selectionSorterOrder)
public void sort(ScoreDirector scoreDirector, List<T> selectionList)
sort in interface SelectionSorter<Solution_ extends Solution,T>scoreDirector - never null, the ScoreDirector
which has the ScoreDirector.getWorkingSolution() to which the selections belong or apply toselectionList - never null, a List
of PlanningEntity, planningValue, Move or SelectorCopyright © 2006–2016 JBoss by Red Hat. All rights reserved.