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