public class DefaultLocalSearchPhase extends AbstractPhase implements LocalSearchPhase, LocalSearchPhaseLifecycleListener
LocalSearchPhase
.Modifier and Type | Field and Description |
---|---|
protected boolean |
assertExpectedStepScore |
protected boolean |
assertStepScoreFromScratch |
protected LocalSearchDecider |
decider |
bestSolutionRecaller, logger, phaseIndex, phaseLifecycleSupport, termination
Constructor and Description |
---|
DefaultLocalSearchPhase() |
Modifier and Type | Method and Description |
---|---|
LocalSearchDecider |
getDecider() |
String |
getPhaseTypeString() |
void |
phaseEnded(LocalSearchPhaseScope phaseScope) |
void |
phaseStarted(LocalSearchPhaseScope phaseScope) |
void |
setAssertExpectedStepScore(boolean assertExpectedStepScore) |
void |
setAssertStepScoreFromScratch(boolean assertStepScoreFromScratch) |
void |
setDecider(LocalSearchDecider decider) |
void |
solve(DefaultSolverScope solverScope) |
void |
solvingEnded(DefaultSolverScope solverScope) |
void |
solvingStarted(DefaultSolverScope solverScope) |
void |
stepEnded(LocalSearchStepScope stepScope) |
void |
stepStarted(LocalSearchStepScope 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 LocalSearchDecider decider
protected boolean assertStepScoreFromScratch
protected boolean assertExpectedStepScore
public LocalSearchDecider getDecider()
public void setDecider(LocalSearchDecider 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(LocalSearchPhaseScope phaseScope)
phaseStarted
in interface LocalSearchPhaseLifecycleListener
public void stepStarted(LocalSearchStepScope stepScope)
stepStarted
in interface LocalSearchPhaseLifecycleListener
public void stepEnded(LocalSearchStepScope stepScope)
stepEnded
in interface LocalSearchPhaseLifecycleListener
public void phaseEnded(LocalSearchPhaseScope phaseScope)
phaseEnded
in interface LocalSearchPhaseLifecycleListener
public void solvingEnded(DefaultSolverScope solverScope)
solvingEnded
in interface SolverLifecycleListener
solvingEnded
in class AbstractPhase
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.