public class DefaultCustomPhase extends AbstractPhase implements CustomPhase
CustomPhase
.Modifier and Type | Field and Description |
---|---|
protected boolean |
assertStepScoreFromScratch |
protected List<CustomPhaseCommand> |
customPhaseCommandList |
protected boolean |
forceUpdateBestSolution |
bestSolutionRecaller, logger, phaseIndex, phaseLifecycleSupport, termination
Constructor and Description |
---|
DefaultCustomPhase() |
Modifier and Type | Method and Description |
---|---|
String |
getPhaseTypeString() |
void |
phaseEnded(CustomPhaseScope phaseScope) |
void |
phaseStarted(CustomPhaseScope phaseScope) |
void |
setAssertStepScoreFromScratch(boolean assertStepScoreFromScratch) |
void |
setCustomPhaseCommandList(List<CustomPhaseCommand> customPhaseCommandList) |
void |
setForceUpdateBestSolution(boolean forceUpdateBestSolution) |
void |
solve(DefaultSolverScope solverScope) |
void |
stepEnded(CustomStepScope stepScope) |
void |
stepStarted(CustomStepScope stepScope) |
addPhaseLifecycleListener, assertWorkingSolutionInitialized, getPhaseIndex, getTermination, phaseEnded, phaseStarted, removePhaseLifecycleListener, setBestSolutionRecaller, setPhaseIndex, setTermination, solvingEnded, solvingStarted, stepEnded, stepStarted
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPhaseLifecycleListener, removePhaseLifecycleListener
phaseEnded, phaseStarted, stepEnded, stepStarted
solvingEnded, solvingStarted
protected List<CustomPhaseCommand> customPhaseCommandList
protected boolean forceUpdateBestSolution
protected boolean assertStepScoreFromScratch
public void setCustomPhaseCommandList(List<CustomPhaseCommand> customPhaseCommandList)
public void setForceUpdateBestSolution(boolean forceUpdateBestSolution)
public void setAssertStepScoreFromScratch(boolean assertStepScoreFromScratch)
public String getPhaseTypeString()
getPhaseTypeString
in class AbstractPhase
public void solve(DefaultSolverScope solverScope)
public void phaseStarted(CustomPhaseScope phaseScope)
public void stepStarted(CustomStepScope stepScope)
public void stepEnded(CustomStepScope stepScope)
public void phaseEnded(CustomPhaseScope phaseScope)
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.