Class ExhaustiveSearchPhaseScope<Solution_>
- java.lang.Object
-
- org.optaplanner.core.impl.phase.scope.AbstractPhaseScope<Solution_>
-
- org.optaplanner.core.impl.exhaustivesearch.scope.ExhaustiveSearchPhaseScope<Solution_>
-
- Type Parameters:
Solution_- the solution type, the class with thePlanningSolutionannotation
public class ExhaustiveSearchPhaseScope<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 ExhaustiveSearchPhaseScope(SolverScope<Solution_> solverScope)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddExpandableNode(ExhaustiveSearchNode moveNode)ScoregetBestPessimisticBound()intgetDepthSize()SortedSet<ExhaustiveSearchNode>getExpandableNodeQueue()ExhaustiveSearchStepScope<Solution_>getLastCompletedStepScope()List<ExhaustiveSearchLayer>getLayerList()voidregisterPessimisticBound(Score pessimisticBound)voidsetBestPessimisticBound(Score bestPessimisticBound)voidsetExpandableNodeQueue(SortedSet<ExhaustiveSearchNode> expandableNodeQueue)voidsetLastCompletedStepScope(ExhaustiveSearchStepScope<Solution_> lastCompletedStepScope)voidsetLayerList(List<ExhaustiveSearchLayer> layerList)-
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, getScoreDefinition, getScoreDirector, getSolutionDescriptor, getSolverScope, getStartingScore, getStartingSystemTimeMillis, getWorkingEntityCount, getWorkingEntityList, getWorkingRandom, getWorkingSolution, getWorkingValueCount, isBestSolutionInitialized, reset, setBestSolutionStepIndex, startingNow, toString
-
-
-
-
Constructor Detail
-
ExhaustiveSearchPhaseScope
public ExhaustiveSearchPhaseScope(SolverScope<Solution_> solverScope)
-
-
Method Detail
-
getLayerList
public List<ExhaustiveSearchLayer> getLayerList()
-
setLayerList
public void setLayerList(List<ExhaustiveSearchLayer> layerList)
-
getExpandableNodeQueue
public SortedSet<ExhaustiveSearchNode> getExpandableNodeQueue()
-
setExpandableNodeQueue
public void setExpandableNodeQueue(SortedSet<ExhaustiveSearchNode> expandableNodeQueue)
-
getBestPessimisticBound
public Score getBestPessimisticBound()
-
setBestPessimisticBound
public void setBestPessimisticBound(Score bestPessimisticBound)
-
getLastCompletedStepScope
public ExhaustiveSearchStepScope<Solution_> getLastCompletedStepScope()
- Specified by:
getLastCompletedStepScopein classAbstractPhaseScope<Solution_>
-
setLastCompletedStepScope
public void setLastCompletedStepScope(ExhaustiveSearchStepScope<Solution_> lastCompletedStepScope)
-
getDepthSize
public int getDepthSize()
-
registerPessimisticBound
public void registerPessimisticBound(Score pessimisticBound)
-
addExpandableNode
public void addExpandableNode(ExhaustiveSearchNode moveNode)
-
-