org.drools.planner.core.domain.variable
Class PlanningValueSorter
java.lang.Object
org.drools.planner.core.domain.variable.PlanningValueSorter
public class PlanningValueSorter
- extends Object
Helper class for PlanningValueStrengthWeightFactory
.
- See Also:
PlanningValueStrengthWeightFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlanningValueSorter
public PlanningValueSorter()
setStrengthComparator
public void setStrengthComparator(Comparator<Object> strengthComparator)
setStrengthWeightFactory
public void setStrengthWeightFactory(PlanningValueStrengthWeightFactory strengthWeightFactory)
isSortStrengthSupported
public boolean isSortStrengthSupported()
sortStrengthAscending
public void sortStrengthAscending(Solution solution,
List<Object> planningValueList)
sortStrengthDescending
public void sortStrengthDescending(Solution solution,
List<Object> planningEntityList)
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.