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, stepStartedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPhaseLifecycleListener, removePhaseLifecycleListenerphaseEnded, phaseStarted, stepEnded, stepStartedsolvingEnded, solvingStartedprotected 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 AbstractPhasepublic 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.