OptaPlanner core 6.1.0.CR2

org.optaplanner.core.impl.localsearch.decider.deciderscorecomparator
Class NaturalDeciderScoreComparatorFactory

java.lang.Object
  extended by org.optaplanner.core.impl.solver.event.SolverLifecycleListenerAdapter
      extended by org.optaplanner.core.impl.localsearch.event.LocalSearchPhaseLifecycleListenerAdapter
          extended by org.optaplanner.core.impl.localsearch.decider.deciderscorecomparator.AbstractDeciderScoreComparatorFactory
              extended by org.optaplanner.core.impl.localsearch.decider.deciderscorecomparator.NaturalDeciderScoreComparatorFactory
All Implemented Interfaces:
EventListener, DeciderScoreComparatorFactory, LocalSearchPhaseLifecycleListener, 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.optaplanner.core.impl.localsearch.decider.deciderscorecomparator.AbstractDeciderScoreComparatorFactory
logger
 
Constructor Summary
NaturalDeciderScoreComparatorFactory()
           
 
Method Summary
 Comparator<Score> createDeciderScoreComparator()
           
 
Methods inherited from class org.optaplanner.core.impl.localsearch.event.LocalSearchPhaseLifecycleListenerAdapter
phaseEnded, phaseStarted, stepEnded, stepStarted
 
Methods inherited from class org.optaplanner.core.impl.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.optaplanner.core.impl.localsearch.event.LocalSearchPhaseLifecycleListener
phaseEnded, phaseStarted, stepEnded, stepStarted
 
Methods inherited from interface org.optaplanner.core.impl.solver.event.SolverLifecycleListener
solvingEnded, solvingStarted
 

Constructor Detail

NaturalDeciderScoreComparatorFactory

public NaturalDeciderScoreComparatorFactory()
Method Detail

createDeciderScoreComparator

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

OptaPlanner core 6.1.0.CR2

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