public class DefaultConstructionHeuristicSolverPhase extends AbstractSolverPhase implements ConstructionHeuristicSolverPhase
ConstructionHeuristicSolverPhase
.Modifier and Type | Field and Description |
---|---|
protected boolean |
assertExpectedStepScore |
protected boolean |
assertStepScoreFromScratch |
protected ConstructionHeuristicDecider |
decider |
protected EntityPlacer |
entityPlacer |
bestSolutionRecaller, logger, phaseIndex, solverPhaseLifecycleSupport, termination
Constructor and Description |
---|
DefaultConstructionHeuristicSolverPhase() |
Modifier and Type | Method and Description |
---|---|
void |
phaseEnded(ConstructionHeuristicSolverPhaseScope phaseScope) |
void |
phaseStarted(ConstructionHeuristicSolverPhaseScope 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) |
addSolverPhaseLifecycleListener, getPhaseIndex, getTermination, phaseEnded, phaseStarted, removeSolverPhaseLifecycleListener, setBestSolutionRecaller, setPhaseIndex, setTermination, stepEnded, stepStarted
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addSolverPhaseLifecycleListener, removeSolverPhaseLifecycleListener
phaseEnded, phaseStarted, stepEnded, stepStarted
protected EntityPlacer entityPlacer
protected ConstructionHeuristicDecider decider
protected boolean assertStepScoreFromScratch
protected boolean assertExpectedStepScore
public DefaultConstructionHeuristicSolverPhase()
public void setEntityPlacer(EntityPlacer entityPlacer)
public void setDecider(ConstructionHeuristicDecider decider)
public void setAssertStepScoreFromScratch(boolean assertStepScoreFromScratch)
public void setAssertExpectedStepScore(boolean assertExpectedStepScore)
public void solve(DefaultSolverScope solverScope)
solve
in interface SolverPhase
public void solvingStarted(DefaultSolverScope solverScope)
solvingStarted
in interface SolverLifecycleListener
solvingStarted
in class AbstractSolverPhase
public void phaseStarted(ConstructionHeuristicSolverPhaseScope phaseScope)
public void stepStarted(ConstructionHeuristicStepScope stepScope)
public void stepEnded(ConstructionHeuristicStepScope stepScope)
public void phaseEnded(ConstructionHeuristicSolverPhaseScope phaseScope)
public void solvingEnded(DefaultSolverScope solverScope)
solvingEnded
in interface SolverLifecycleListener
solvingEnded
in class AbstractSolverPhase
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.