org.drools.planner.core.domain.entity
Class PlanningEntitySorter
java.lang.Object
org.drools.planner.core.domain.entity.PlanningEntitySorter
public class PlanningEntitySorter
- extends Object
Helper class for PlanningEntityDifficultyWeightFactory
.
- See Also:
PlanningEntityDifficultyWeightFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlanningEntitySorter
public PlanningEntitySorter()
setDifficultyComparator
public void setDifficultyComparator(Comparator<Object> difficultyComparator)
setDifficultyWeightFactory
public void setDifficultyWeightFactory(PlanningEntityDifficultyWeightFactory difficultyWeightFactory)
isSortDifficultySupported
public boolean isSortDifficultySupported()
sortDifficultyAscending
public void sortDifficultyAscending(Solution solution,
List<Object> planningEntityList)
sortDifficultyDescending
public void sortDifficultyDescending(Solution solution,
List<Object> planningEntityList)
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.