Solution_ - the solution type, the class with the PlanningSolution annotationT - the selection typepublic interface SelectionSorterWeightFactory<Solution_,T>
PlanningEntity, a planningValue, a Move or a Selector).
The selections are then sorted by their weight,
normally ascending unless it's configured descending.| Modifier and Type | Method and Description |
|---|---|
Comparable |
createSorterWeight(Solution_ solution,
T selection) |
Comparable createSorterWeight(Solution_ solution, T selection)
solution - never null, the PlanningSolution to which the selection belongs or applies toselection - never null, a PlanningEntity, a planningValue, a Move or a SelectorInteger, Double or a more complex ComparableCopyright © 2006–2021 JBoss by Red Hat. All rights reserved.