Class LocalSearchPhaseScope<Solution_>
- java.lang.Object
-
- org.optaplanner.core.impl.phase.scope.AbstractPhaseScope<Solution_>
-
- org.optaplanner.core.impl.localsearch.scope.LocalSearchPhaseScope<Solution_>
-
- Type Parameters:
Solution_
- the solution type, the class with thePlanningSolution
annotation
public class LocalSearchPhaseScope<Solution_> extends AbstractPhaseScope<Solution_>
-
-
Field Summary
-
Fields inherited from class org.optaplanner.core.impl.phase.scope.AbstractPhaseScope
bestSolutionStepIndex, childThreadsScoreCalculationCount, endingScoreCalculationCount, endingSystemTimeMillis, logger, solverScope, startingScore, startingScoreCalculationCount, startingSystemTimeMillis
-
-
Constructor Summary
Constructors Constructor Description LocalSearchPhaseScope(SolverScope<Solution_> solverScope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalSearchStepScope<Solution_>
getLastCompletedStepScope()
void
setLastCompletedStepScope(LocalSearchStepScope<Solution_> lastCompletedStepScope)
-
Methods inherited from class org.optaplanner.core.impl.phase.scope.AbstractPhaseScope
addChildThreadsScoreCalculationCount, assertExpectedWorkingScore, assertPredictedScoreFromScratch, assertShadowVariablesAreNotStale, assertWorkingScoreFromScratch, calculatePhaseTimeMillisSpentUpToNow, calculateScore, calculateSolverTimeMillisSpentUpToNow, endingNow, getBestScore, getBestSolutionStepIndex, getEndingSystemTimeMillis, getNextStepIndex, getPhaseBestSolutionTimeMillis, getPhaseScoreCalculationCount, getPhaseScoreCalculationSpeed, getPhaseTimeMillisSpent, getScoreDirector, getSolutionDescriptor, getSolverScope, getStartingScore, getStartingSystemTimeMillis, getWorkingEntityCount, getWorkingRandom, getWorkingSolution, getWorkingValueCount, isBestSolutionInitialized, reset, setBestSolutionStepIndex, startingNow, toString
-
-
-
-
Constructor Detail
-
LocalSearchPhaseScope
public LocalSearchPhaseScope(SolverScope<Solution_> solverScope)
-
-
Method Detail
-
getLastCompletedStepScope
public LocalSearchStepScope<Solution_> getLastCompletedStepScope()
- Specified by:
getLastCompletedStepScope
in classAbstractPhaseScope<Solution_>
-
setLastCompletedStepScope
public void setLastCompletedStepScope(LocalSearchStepScope<Solution_> lastCompletedStepScope)
-
-