Class DefaultConstructionHeuristicPhase<Solution_>
java.lang.Object
org.optaplanner.core.impl.phase.AbstractPhase<Solution_>
org.optaplanner.core.impl.constructionheuristic.DefaultConstructionHeuristicPhase<Solution_>
- Type Parameters:
- Solution_- the solution type, the class with the- PlanningSolutionannotation
- All Implemented Interfaces:
- EventListener,- ConstructionHeuristicPhase<Solution_>,- PhaseLifecycleListener<Solution_>,- Phase<Solution_>,- SolverLifecycleListener<Solution_>
public class DefaultConstructionHeuristicPhase<Solution_>
extends AbstractPhase<Solution_>
implements ConstructionHeuristicPhase<Solution_>
Default implementation of 
ConstructionHeuristicPhase.- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic class
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final ConstructionHeuristicDecider<Solution_>protected final EntityPlacer<Solution_>Fields inherited from class org.optaplanner.core.impl.phase.AbstractPhaseassertExpectedStepScore, assertShadowVariablesAreNotStaleAfterStep, assertStepScoreFromScratch, logger, logIndentation, phaseIndex, phaseLifecycleSupport, phaseTermination, solver
- 
Method SummaryModifier and TypeMethodDescriptionvoidphaseEnded(ConstructionHeuristicPhaseScope<Solution_> phaseScope) voidphaseStarted(ConstructionHeuristicPhaseScope<Solution_> phaseScope) voidsolve(SolverScope<Solution_> solverScope) voidsolvingEnded(SolverScope<Solution_> solverScope) voidsolvingError(SolverScope<Solution_> solverScope, Exception exception) Invoked in case of an exception in theSolverrun.voidsolvingStarted(SolverScope<Solution_> solverScope) voidstepEnded(ConstructionHeuristicStepScope<Solution_> stepScope) voidstepStarted(ConstructionHeuristicStepScope<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, stepStartedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.optaplanner.core.impl.phase.PhaseaddPhaseLifecycleListener, removePhaseLifecycleListenerMethods inherited from interface org.optaplanner.core.impl.phase.event.PhaseLifecycleListenerphaseEnded, phaseStarted, stepEnded, stepStarted
- 
Field Details- 
entityPlacer
- 
decider
 
- 
- 
Method Details- 
getPhaseTypeString- Specified by:
- getPhaseTypeStringin class- AbstractPhase<Solution_>
 
- 
solve
- 
solvingStarted- Specified by:
- solvingStartedin interface- SolverLifecycleListener<Solution_>
- Overrides:
- solvingStartedin class- AbstractPhase<Solution_>
 
- 
phaseStarted
- 
stepStarted
- 
stepEnded
- 
phaseEnded
- 
solvingEnded- Specified by:
- solvingEndedin interface- SolverLifecycleListener<Solution_>
- Overrides:
- solvingEndedin class- AbstractPhase<Solution_>
 
- 
solvingErrorDescription copied from interface:SolverLifecycleListenerInvoked in case of an exception in theSolverrun. In that case, theSolverLifecycleListener.solvingEnded(SolverScope)is never called. For internal purposes only.- Specified by:
- solvingErrorin interface- SolverLifecycleListener<Solution_>
 
 
-