org.optaplanner.core.impl.exhaustivesearch.decider
Class ExhaustiveSearchDecider
java.lang.Object
org.optaplanner.core.impl.exhaustivesearch.decider.ExhaustiveSearchDecider
- All Implemented Interfaces:
- EventListener, ExhaustiveSearchPhaseLifecycleListener, SolverLifecycleListener
public class ExhaustiveSearchDecider
- extends Object
- implements ExhaustiveSearchPhaseLifecycleListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final transient org.slf4j.Logger logger
bestSolutionRecaller
protected final BestSolutionRecaller bestSolutionRecaller
termination
protected final Termination termination
manualEntityMimicRecorder
protected final ManualEntityMimicRecorder manualEntityMimicRecorder
moveSelector
protected final MoveSelector moveSelector
scoreBounderEnabled
protected final boolean scoreBounderEnabled
scoreBounder
protected final ScoreBounder scoreBounder
assertMoveScoreFromScratch
protected boolean assertMoveScoreFromScratch
assertExpectedUndoMoveScore
protected boolean assertExpectedUndoMoveScore
ExhaustiveSearchDecider
public ExhaustiveSearchDecider(BestSolutionRecaller bestSolutionRecaller,
Termination termination,
ManualEntityMimicRecorder manualEntityMimicRecorder,
MoveSelector moveSelector,
boolean scoreBounderEnabled,
ScoreBounder scoreBounder)
getManualEntityMimicRecorder
public ManualEntityMimicRecorder getManualEntityMimicRecorder()
getMoveSelector
public MoveSelector getMoveSelector()
isScoreBounderEnabled
public boolean isScoreBounderEnabled()
getScoreBounder
public ScoreBounder getScoreBounder()
setAssertMoveScoreFromScratch
public void setAssertMoveScoreFromScratch(boolean assertMoveScoreFromScratch)
setAssertExpectedUndoMoveScore
public void setAssertExpectedUndoMoveScore(boolean assertExpectedUndoMoveScore)
solvingStarted
public void solvingStarted(DefaultSolverScope solverScope)
- Specified by:
solvingStarted
in interface SolverLifecycleListener
phaseStarted
public void phaseStarted(ExhaustiveSearchPhaseScope phaseScope)
- Specified by:
phaseStarted
in interface ExhaustiveSearchPhaseLifecycleListener
stepStarted
public void stepStarted(ExhaustiveSearchStepScope stepScope)
- Specified by:
stepStarted
in interface ExhaustiveSearchPhaseLifecycleListener
stepEnded
public void stepEnded(ExhaustiveSearchStepScope stepScope)
- Specified by:
stepEnded
in interface ExhaustiveSearchPhaseLifecycleListener
phaseEnded
public void phaseEnded(ExhaustiveSearchPhaseScope phaseScope)
- Specified by:
phaseEnded
in interface ExhaustiveSearchPhaseLifecycleListener
solvingEnded
public void solvingEnded(DefaultSolverScope solverScope)
- Specified by:
solvingEnded
in interface SolverLifecycleListener
expandNode
public void expandNode(ExhaustiveSearchStepScope stepScope)
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.