Class ExhaustiveSearchDecider<Solution_>
- java.lang.Object
-
- ai.timefold.solver.core.impl.exhaustivesearch.decider.ExhaustiveSearchDecider<Solution_>
-
- All Implemented Interfaces:
ExhaustiveSearchPhaseLifecycleListener<Solution_>,SolverLifecycleListener<Solution_>,EventListener
public final class ExhaustiveSearchDecider<Solution_> extends Object implements ExhaustiveSearchPhaseLifecycleListener<Solution_>
-
-
Constructor Summary
Constructors Constructor Description ExhaustiveSearchDecider(String logIndentation, BestSolutionRecaller<Solution_> bestSolutionRecaller, Termination<Solution_> termination, ManualEntityMimicRecorder<Solution_> manualEntityMimicRecorder, MoveSelector<Solution_> moveSelector, boolean scoreBounderEnabled, ScoreBounder scoreBounder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexpandNode(ExhaustiveSearchStepScope<Solution_> stepScope)MoveSelector<Solution_>getMoveSelector()ScoreBoundergetScoreBounder()booleanisScoreBounderEnabled()voidphaseEnded(ExhaustiveSearchPhaseScope<Solution_> phaseScope)voidphaseStarted(ExhaustiveSearchPhaseScope<Solution_> phaseScope)voidsetAssertExpectedUndoMoveScore(boolean assertExpectedUndoMoveScore)voidsetAssertMoveScoreFromScratch(boolean assertMoveScoreFromScratch)voidsolvingEnded(SolverScope<Solution_> solverScope)voidsolvingStarted(SolverScope<Solution_> solverScope)voidstepEnded(ExhaustiveSearchStepScope<Solution_> stepScope)voidstepStarted(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 ai.timefold.solver.core.impl.solver.event.SolverLifecycleListener
solvingError
-
-
-
-
Constructor Detail
-
ExhaustiveSearchDecider
public ExhaustiveSearchDecider(String logIndentation, BestSolutionRecaller<Solution_> bestSolutionRecaller, Termination<Solution_> termination, ManualEntityMimicRecorder<Solution_> manualEntityMimicRecorder, MoveSelector<Solution_> moveSelector, boolean scoreBounderEnabled, ScoreBounder scoreBounder)
-
-
Method Detail
-
getMoveSelector
public MoveSelector<Solution_> 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(SolverScope<Solution_> solverScope)
- Specified by:
solvingStartedin interfaceSolverLifecycleListener<Solution_>
-
phaseStarted
public void phaseStarted(ExhaustiveSearchPhaseScope<Solution_> phaseScope)
- Specified by:
phaseStartedin interfaceExhaustiveSearchPhaseLifecycleListener<Solution_>
-
stepStarted
public void stepStarted(ExhaustiveSearchStepScope<Solution_> stepScope)
- Specified by:
stepStartedin interfaceExhaustiveSearchPhaseLifecycleListener<Solution_>
-
stepEnded
public void stepEnded(ExhaustiveSearchStepScope<Solution_> stepScope)
- Specified by:
stepEndedin interfaceExhaustiveSearchPhaseLifecycleListener<Solution_>
-
phaseEnded
public void phaseEnded(ExhaustiveSearchPhaseScope<Solution_> phaseScope)
- Specified by:
phaseEndedin interfaceExhaustiveSearchPhaseLifecycleListener<Solution_>
-
solvingEnded
public void solvingEnded(SolverScope<Solution_> solverScope)
- Specified by:
solvingEndedin interfaceSolverLifecycleListener<Solution_>
-
expandNode
public void expandNode(ExhaustiveSearchStepScope<Solution_> stepScope)
-
-