Class ExhaustiveSearchDecider<Solution_>
java.lang.Object
org.optaplanner.core.impl.exhaustivesearch.decider.ExhaustiveSearchDecider<Solution_>
- All Implemented Interfaces:
EventListener
,ExhaustiveSearchPhaseLifecycleListener<Solution_>
,SolverLifecycleListener<Solution_>
public class ExhaustiveSearchDecider<Solution_>
extends Object
implements ExhaustiveSearchPhaseLifecycleListener<Solution_>
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected boolean
protected final BestSolutionRecaller<Solution_>
protected final String
protected final ManualEntityMimicRecorder<Solution_>
protected final MoveSelector<Solution_>
protected final ScoreBounder
protected final boolean
protected final Termination<Solution_>
-
Constructor Summary
ConstructorDescriptionExhaustiveSearchDecider
(String logIndentation, BestSolutionRecaller<Solution_> bestSolutionRecaller, Termination<Solution_> termination, ManualEntityMimicRecorder<Solution_> manualEntityMimicRecorder, MoveSelector<Solution_> moveSelector, boolean scoreBounderEnabled, ScoreBounder scoreBounder) -
Method Summary
Modifier and TypeMethodDescriptionvoid
expandNode
(ExhaustiveSearchStepScope<Solution_> stepScope) boolean
void
phaseEnded
(ExhaustiveSearchPhaseScope<Solution_> phaseScope) void
phaseStarted
(ExhaustiveSearchPhaseScope<Solution_> phaseScope) void
setAssertExpectedUndoMoveScore
(boolean assertExpectedUndoMoveScore) void
setAssertMoveScoreFromScratch
(boolean assertMoveScoreFromScratch) void
solvingEnded
(SolverScope<Solution_> solverScope) void
solvingStarted
(SolverScope<Solution_> solverScope) void
stepEnded
(ExhaustiveSearchStepScope<Solution_> stepScope) void
stepStarted
(ExhaustiveSearchStepScope<Solution_> stepScope) 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.solver.event.SolverLifecycleListener
solvingError
-
Field Details
-
logIndentation
-
bestSolutionRecaller
-
termination
-
manualEntityMimicRecorder
-
moveSelector
-
scoreBounderEnabled
protected final boolean scoreBounderEnabled -
scoreBounder
-
assertMoveScoreFromScratch
protected boolean assertMoveScoreFromScratch -
assertExpectedUndoMoveScore
protected boolean assertExpectedUndoMoveScore
-
-
Constructor Details
-
ExhaustiveSearchDecider
public ExhaustiveSearchDecider(String logIndentation, BestSolutionRecaller<Solution_> bestSolutionRecaller, Termination<Solution_> termination, ManualEntityMimicRecorder<Solution_> manualEntityMimicRecorder, MoveSelector<Solution_> moveSelector, boolean scoreBounderEnabled, ScoreBounder scoreBounder)
-
-
Method Details
-
getManualEntityMimicRecorder
-
getMoveSelector
-
isScoreBounderEnabled
public boolean isScoreBounderEnabled() -
getScoreBounder
-
setAssertMoveScoreFromScratch
public void setAssertMoveScoreFromScratch(boolean assertMoveScoreFromScratch) -
setAssertExpectedUndoMoveScore
public void setAssertExpectedUndoMoveScore(boolean assertExpectedUndoMoveScore) -
solvingStarted
- Specified by:
solvingStarted
in interfaceSolverLifecycleListener<Solution_>
-
phaseStarted
- Specified by:
phaseStarted
in interfaceExhaustiveSearchPhaseLifecycleListener<Solution_>
-
stepStarted
- Specified by:
stepStarted
in interfaceExhaustiveSearchPhaseLifecycleListener<Solution_>
-
stepEnded
- Specified by:
stepEnded
in interfaceExhaustiveSearchPhaseLifecycleListener<Solution_>
-
phaseEnded
- Specified by:
phaseEnded
in interfaceExhaustiveSearchPhaseLifecycleListener<Solution_>
-
solvingEnded
- Specified by:
solvingEnded
in interfaceSolverLifecycleListener<Solution_>
-
expandNode
-