org.drools.planner.core.localsearch.decider.deciderscorecomparator
Class NaturalDeciderScoreComparatorFactory

java.lang.Object
  extended by org.drools.planner.core.solver.event.SolverLifecycleListenerAdapter
      extended by org.drools.planner.core.localsearch.event.LocalSearchSolverPhaseLifecycleListenerAdapter
          extended by org.drools.planner.core.localsearch.decider.deciderscorecomparator.AbstractDeciderScoreComparatorFactory
              extended by org.drools.planner.core.localsearch.decider.deciderscorecomparator.NaturalDeciderScoreComparatorFactory
All Implemented Interfaces:
EventListener, DeciderScoreComparatorFactory, LocalSearchSolverPhaseLifecycleListener, SolverLifecycleListener

public class NaturalDeciderScoreComparatorFactory
extends AbstractDeciderScoreComparatorFactory

Implementation of DeciderScoreComparatorFactory. Compares by the natural order of scores.

See Also:
DeciderScoreComparatorFactory

Field Summary
 
Fields inherited from class org.drools.planner.core.localsearch.decider.deciderscorecomparator.AbstractDeciderScoreComparatorFactory
logger
 
Constructor Summary
NaturalDeciderScoreComparatorFactory()
           
 
Method Summary
 Comparator<Score> createDeciderScoreComparator()
           
 
Methods inherited from class org.drools.planner.core.localsearch.event.LocalSearchSolverPhaseLifecycleListenerAdapter
phaseEnded, phaseStarted, stepEnded, stepStarted
 
Methods inherited from class org.drools.planner.core.solver.event.SolverLifecycleListenerAdapter
solvingEnded, solvingStarted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.drools.planner.core.localsearch.event.LocalSearchSolverPhaseLifecycleListener
phaseEnded, phaseStarted, stepEnded, stepStarted
 
Methods inherited from interface org.drools.planner.core.solver.event.SolverLifecycleListener
solvingEnded, solvingStarted
 

Constructor Detail

NaturalDeciderScoreComparatorFactory

public NaturalDeciderScoreComparatorFactory()
Method Detail

createDeciderScoreComparator

public Comparator<Score> createDeciderScoreComparator()
Returns:
never null


Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.