Class BasicExhaustiveSearchDecider<Solution_,Score_ extends Score<Score_>>
java.lang.Object
ai.timefold.solver.core.impl.exhaustivesearch.decider.AbstractExhaustiveSearchDecider<Solution_,Score_>
ai.timefold.solver.core.impl.exhaustivesearch.decider.BasicExhaustiveSearchDecider<Solution_,Score_>
- All Implemented Interfaces:
ExhaustiveSearchPhaseLifecycleListener<Solution_>,SolverLifecycleListener<Solution_>,EventListener
public final class BasicExhaustiveSearchDecider<Solution_,Score_ extends Score<Score_>>
extends AbstractExhaustiveSearchDecider<Solution_,Score_>
-
Field Summary
Fields inherited from class ai.timefold.solver.core.impl.exhaustivesearch.decider.AbstractExhaustiveSearchDecider
acceptUninitializedSolutions, bestSolutionRecaller, manualEntityMimicRecorder, scoreBounderEnabled, sourceEntitySelector -
Constructor Summary
ConstructorsConstructorDescriptionBasicExhaustiveSearchDecider(String logIndentation, BestSolutionRecaller<Solution_> bestSolutionRecaller, PhaseTermination<Solution_> termination, EntitySelector<Solution_> sourceEntitySelector, ManualEntityMimicRecorder<Solution_> manualEntityMimicRecorder, MoveRepository<Solution_> moveRepository, boolean scoreBounderEnabled, ScoreBounder<?> scoreBounder) -
Method Summary
Modifier and TypeMethodDescriptionvoidexpandNode(ExhaustiveSearchStepScope<Solution_> stepScope) booleanisEntityReinitializable(Object entity) booleanisSolutionComplete(ExhaustiveSearchNode<Solution_> expandingNode) voidrestoreWorkingSolution(ExhaustiveSearchStepScope<Solution_> stepScope, boolean assertWorkingSolutionScoreFromScratch, boolean assertExpectedWorkingSolutionScore) Methods inherited from class ai.timefold.solver.core.impl.exhaustivesearch.decider.AbstractExhaustiveSearchDecider
doMove, enableAcceptUninitializedSolutions, expandNode, fillLayerList, getScoreBounder, initStartNode, phaseEnded, phaseStarted, setAssertExpectedUndoMoveScore, setAssertMoveScoreFromScratch, solvingEnded, solvingStarted, stepEnded, stepStartedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ai.timefold.solver.core.impl.solver.event.SolverLifecycleListener
solvingError
-
Constructor Details
-
BasicExhaustiveSearchDecider
public BasicExhaustiveSearchDecider(String logIndentation, BestSolutionRecaller<Solution_> bestSolutionRecaller, PhaseTermination<Solution_> termination, EntitySelector<Solution_> sourceEntitySelector, ManualEntityMimicRecorder<Solution_> manualEntityMimicRecorder, MoveRepository<Solution_> moveRepository, boolean scoreBounderEnabled, ScoreBounder<?> scoreBounder)
-
-
Method Details
-
expandNode
- Specified by:
expandNodein classAbstractExhaustiveSearchDecider<Solution_,Score_ extends Score<Score_>>
-
isSolutionComplete
- Specified by:
isSolutionCompletein classAbstractExhaustiveSearchDecider<Solution_,Score_ extends Score<Score_>>
-
isEntityReinitializable
- Specified by:
isEntityReinitializablein classAbstractExhaustiveSearchDecider<Solution_,Score_ extends Score<Score_>>
-
restoreWorkingSolution
public void restoreWorkingSolution(ExhaustiveSearchStepScope<Solution_> stepScope, boolean assertWorkingSolutionScoreFromScratch, boolean assertExpectedWorkingSolutionScore) - Specified by:
restoreWorkingSolutionin classAbstractExhaustiveSearchDecider<Solution_,Score_ extends Score<Score_>>
-