public interface SelectionSorterWeightFactory<Solution_ extends Solution,T>
PlanningEntity
, a planningValue, a Move
or a Selector
).
The selections are then sorted by their weight,
normally ascending unless its configured descending.Modifier and Type | Method and Description |
---|---|
Comparable |
createSorterWeight(Solution_ solution,
T selection) |
Comparable createSorterWeight(Solution_ solution, T selection)
solution
- never null, the Solution
to which the selection belongs or applies toselection
- never null, a PlanningEntity
, a planningValue, a Move
or a Selector
Integer
, Double
or a more complex Comparable
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.