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, stepStartedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPhaseLifecycleListener, removePhaseLifecycleListenerphaseEnded, phaseStarted, stepEnded, stepStartedprotected 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 AbstractPhasepublic void solve(DefaultSolverScope solverScope)
public void solvingStarted(DefaultSolverScope solverScope)
solvingStarted in interface SolverLifecycleListenersolvingStarted in class AbstractPhasepublic 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 SolverLifecycleListenersolvingEnded in class AbstractPhaseCopyright © 2006–2016 JBoss by Red Hat. All rights reserved.