public class ComparatorSelectionSorter extends Object implements SelectionSorter<Object>
| Constructor and Description |
|---|
ComparatorSelectionSorter(Comparator<Object> comparator,
SelectionSorterOrder selectionSorterOrder) |
public ComparatorSelectionSorter(Comparator<Object> comparator, SelectionSorterOrder selectionSorterOrder)
public void sort(ScoreDirector scoreDirector, List<Object> selectionList)
sort in interface SelectionSorter<Object>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–2015 JBoss by Red Hat. All rights reserved.