Class CustomPhaseScope<Solution_>
java.lang.Object
ai.timefold.solver.core.impl.phase.scope.AbstractPhaseScope<Solution_>
ai.timefold.solver.core.impl.phase.custom.scope.CustomPhaseScope<Solution_>
- Type Parameters:
Solution_- the solution type, the class with thePlanningSolutionannotation
-
Field Summary
Fields inherited from class ai.timefold.solver.core.impl.phase.scope.AbstractPhaseScope
bestSolutionStepIndex, childThreadsScoreCalculationCount, endingMoveEvaluationCount, endingScoreCalculationCount, endingSystemTimeMillis, logger, phaseIndex, phaseSendingBestSolutionEvents, solverScope, startingMoveEvaluationCount, startingScore, startingScoreCalculationCount, startingSystemTimeMillis -
Constructor Summary
ConstructorsConstructorDescriptionCustomPhaseScope(SolverScope<Solution_> solverScope, int phaseIndex) CustomPhaseScope(SolverScope<Solution_> solverScope, int phaseIndex, boolean phaseSendsBestSolutionEvents) -
Method Summary
Modifier and TypeMethodDescriptionvoidsetLastCompletedStepScope(CustomStepScope<Solution_> lastCompletedStepScope) Methods inherited from class ai.timefold.solver.core.impl.phase.scope.AbstractPhaseScope
addChildThreadsScoreCalculationCount, addMoveEvaluationCount, addMoveEvaluationCountPerType, assertExpectedWorkingScore, assertPredictedScoreFromScratch, assertShadowVariablesAreNotStale, assertWorkingScoreFromScratch, calculatePhaseTimeMillisSpentUpToNow, calculateScore, calculateSolverTimeMillisSpentUpToNow, endingNow, getBestScore, getBestSolutionStepIndex, getEndingSystemTimeMillis, getNextStepIndex, getPhaseBestSolutionTimeMillis, getPhaseIndex, getPhaseMoveEvaluationCount, getPhaseMoveEvaluationSpeed, getPhaseScoreCalculationCount, getPhaseScoreCalculationSpeed, getPhaseTimeMillisSpent, getScoreDirector, getSolutionDescriptor, getSolverScope, getStartingScore, getStartingSystemTimeMillis, getTermination, getWorkingEntityCount, getWorkingRandom, getWorkingSolution, isBestSolutionInitialized, isPhaseSendingBestSolutionEvents, reset, setBestSolutionStepIndex, setTermination, startingNow, toString
-
Constructor Details
-
CustomPhaseScope
-
CustomPhaseScope
public CustomPhaseScope(SolverScope<Solution_> solverScope, int phaseIndex, boolean phaseSendsBestSolutionEvents)
-
-
Method Details
-
getLastCompletedStepScope
- Specified by:
getLastCompletedStepScopein classAbstractPhaseScope<Solution_>
-
setLastCompletedStepScope
-