Solution_
- the solution type, the class with the PlanningSolution
annotationpublic class DefaultConstructionHeuristicPhase<Solution_> extends AbstractPhase<Solution_> implements ConstructionHeuristicPhase<Solution_>
ConstructionHeuristicPhase
.Modifier and Type | Field and Description |
---|---|
protected ConstructionHeuristicDecider |
decider |
protected EntityPlacer |
entityPlacer |
assertExpectedStepScore, assertShadowVariablesAreNotStaleAfterStep, assertStepScoreFromScratch, bestSolutionRecaller, logger, phaseIndex, phaseLifecycleSupport, solverPhaseLifecycleSupport, termination
Constructor and Description |
---|
DefaultConstructionHeuristicPhase() |
Modifier and Type | Method and Description |
---|---|
String |
getPhaseTypeString() |
void |
phaseEnded(ConstructionHeuristicPhaseScope<Solution_> phaseScope) |
void |
phaseStarted(ConstructionHeuristicPhaseScope<Solution_> phaseScope) |
void |
setDecider(ConstructionHeuristicDecider decider) |
void |
setEntityPlacer(EntityPlacer entityPlacer) |
void |
solve(DefaultSolverScope<Solution_> solverScope) |
void |
solvingEnded(DefaultSolverScope<Solution_> solverScope) |
void |
solvingStarted(DefaultSolverScope<Solution_> solverScope) |
void |
stepEnded(ConstructionHeuristicStepScope<Solution_> stepScope) |
void |
stepStarted(ConstructionHeuristicStepScope<Solution_> stepScope) |
addPhaseLifecycleListener, assertWorkingSolutionInitialized, getPhaseIndex, getTermination, isAssertExpectedStepScore, isAssertShadowVariablesAreNotStaleAfterStep, isAssertStepScoreFromScratch, phaseEnded, phaseStarted, predictWorkingStepScore, removePhaseLifecycleListener, setAssertExpectedStepScore, setAssertShadowVariablesAreNotStaleAfterStep, setAssertStepScoreFromScratch, setBestSolutionRecaller, setPhaseIndex, setSolverPhaseLifecycleSupport, setTermination, stepEnded, stepStarted
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPhaseLifecycleListener, removePhaseLifecycleListener, setSolverPhaseLifecycleSupport
phaseEnded, phaseStarted, stepEnded, stepStarted
protected EntityPlacer entityPlacer
protected ConstructionHeuristicDecider decider
public void setEntityPlacer(EntityPlacer entityPlacer)
public void setDecider(ConstructionHeuristicDecider decider)
public String getPhaseTypeString()
getPhaseTypeString
in class AbstractPhase<Solution_>
public void solve(DefaultSolverScope<Solution_> solverScope)
public void solvingStarted(DefaultSolverScope<Solution_> solverScope)
solvingStarted
in interface SolverLifecycleListener<Solution_>
solvingStarted
in class AbstractPhase<Solution_>
public void phaseStarted(ConstructionHeuristicPhaseScope<Solution_> phaseScope)
public void stepStarted(ConstructionHeuristicStepScope<Solution_> stepScope)
public void stepEnded(ConstructionHeuristicStepScope<Solution_> stepScope)
public void phaseEnded(ConstructionHeuristicPhaseScope<Solution_> phaseScope)
public void solvingEnded(DefaultSolverScope<Solution_> solverScope)
solvingEnded
in interface SolverLifecycleListener<Solution_>
solvingEnded
in class AbstractPhase<Solution_>
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.