Class DefaultExhaustiveSearchPhase<Solution_>
- java.lang.Object
- 
- org.optaplanner.core.impl.phase.AbstractPhase<Solution_>
- 
- org.optaplanner.core.impl.exhaustivesearch.DefaultExhaustiveSearchPhase<Solution_>
 
 
- 
- Type Parameters:
- Solution_- the solution type, the class with the- PlanningSolutionannotation
 - All Implemented Interfaces:
- EventListener,- ExhaustiveSearchPhase<Solution_>,- PhaseLifecycleListener<Solution_>,- Phase<Solution_>,- SolverLifecycleListener<Solution_>
 
 public class DefaultExhaustiveSearchPhase<Solution_> extends AbstractPhase<Solution_> implements ExhaustiveSearchPhase<Solution_> Default implementation ofExhaustiveSearchPhase.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDefaultExhaustiveSearchPhase.Builder<Solution_>
 - 
Field SummaryFields Modifier and Type Field Description protected booleanassertExpectedWorkingSolutionScoreprotected booleanassertWorkingSolutionScoreFromScratchprotected ExhaustiveSearchDecider<Solution_>deciderprotected EntitySelector<Solution_>entitySelectorprotected Comparator<ExhaustiveSearchNode>nodeComparator- 
Fields inherited from class org.optaplanner.core.impl.phase.AbstractPhaseassertExpectedStepScore, assertShadowVariablesAreNotStaleAfterStep, assertStepScoreFromScratch, logger, logIndentation, phaseIndex, phaseLifecycleSupport, phaseTermination, solver
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPhaseTypeString()voidphaseEnded(ExhaustiveSearchPhaseScope<Solution_> phaseScope)voidphaseStarted(ExhaustiveSearchPhaseScope<Solution_> phaseScope)protected voidrestoreWorkingSolution(ExhaustiveSearchStepScope<Solution_> stepScope)voidsolve(SolverScope<Solution_> solverScope)voidsolvingEnded(SolverScope<Solution_> solverScope)voidsolvingStarted(SolverScope<Solution_> solverScope)voidstepEnded(ExhaustiveSearchStepScope<Solution_> stepScope)voidstepStarted(ExhaustiveSearchStepScope<Solution_> stepScope)- 
Methods inherited from class org.optaplanner.core.impl.phase.AbstractPhaseaddPhaseLifecycleListener, assertWorkingSolutionInitialized, calculateWorkingStepScore, getPhaseIndex, getPhaseTermination, getSolver, isAssertExpectedStepScore, isAssertShadowVariablesAreNotStaleAfterStep, isAssertStepScoreFromScratch, phaseEnded, phaseStarted, predictWorkingStepScore, removePhaseLifecycleListener, setSolver, stepEnded, stepStarted
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.optaplanner.core.impl.phase.PhaseaddPhaseLifecycleListener, removePhaseLifecycleListener
 - 
Methods inherited from interface org.optaplanner.core.impl.phase.event.PhaseLifecycleListenerphaseEnded, phaseStarted, stepEnded, stepStarted
 
- 
 
- 
- 
- 
Field Detail- 
nodeComparatorprotected final Comparator<ExhaustiveSearchNode> nodeComparator 
 - 
entitySelectorprotected final EntitySelector<Solution_> entitySelector 
 - 
deciderprotected final ExhaustiveSearchDecider<Solution_> decider 
 - 
assertWorkingSolutionScoreFromScratchprotected final boolean assertWorkingSolutionScoreFromScratch 
 - 
assertExpectedWorkingSolutionScoreprotected final boolean assertExpectedWorkingSolutionScore 
 
- 
 - 
Method Detail- 
getPhaseTypeStringpublic String getPhaseTypeString() - Specified by:
- getPhaseTypeStringin class- AbstractPhase<Solution_>
 
 - 
solvepublic void solve(SolverScope<Solution_> solverScope) 
 - 
solvingStartedpublic void solvingStarted(SolverScope<Solution_> solverScope) - Specified by:
- solvingStartedin interface- SolverLifecycleListener<Solution_>
- Overrides:
- solvingStartedin class- AbstractPhase<Solution_>
 
 - 
phaseStartedpublic void phaseStarted(ExhaustiveSearchPhaseScope<Solution_> phaseScope) 
 - 
stepStartedpublic void stepStarted(ExhaustiveSearchStepScope<Solution_> stepScope) 
 - 
restoreWorkingSolutionprotected void restoreWorkingSolution(ExhaustiveSearchStepScope<Solution_> stepScope) 
 - 
stepEndedpublic void stepEnded(ExhaustiveSearchStepScope<Solution_> stepScope) 
 - 
phaseEndedpublic void phaseEnded(ExhaustiveSearchPhaseScope<Solution_> phaseScope) 
 - 
solvingEndedpublic void solvingEnded(SolverScope<Solution_> solverScope) - Specified by:
- solvingEndedin interface- SolverLifecycleListener<Solution_>
- Overrides:
- solvingEndedin class- AbstractPhase<Solution_>
 
 
- 
 
-