org.drools.planner.core.domain.entity
Class PlanningEntitySorter

java.lang.Object
  extended by org.drools.planner.core.domain.entity.PlanningEntitySorter

public class PlanningEntitySorter
extends Object

Helper class for PlanningEntityDifficultyWeightFactory.

See Also:
PlanningEntityDifficultyWeightFactory

Constructor Summary
PlanningEntitySorter()
           
 
Method Summary
 boolean isSortDifficultySupported()
           
 void setDifficultyComparator(Comparator<Object> difficultyComparator)
           
 void setDifficultyWeightFactory(PlanningEntityDifficultyWeightFactory difficultyWeightFactory)
           
 void sortDifficultyAscending(Solution solution, List<Object> planningEntityList)
           
 void sortDifficultyDescending(Solution solution, List<Object> planningEntityList)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlanningEntitySorter

public PlanningEntitySorter()
Method Detail

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-2014 JBoss by Red Hat. All Rights Reserved.