public abstract class AbstractPhase extends Object implements Phase
DefaultLocalSearchPhase| Modifier and Type | Field and Description | 
|---|---|
protected BestSolutionRecaller | 
bestSolutionRecaller  | 
protected org.slf4j.Logger | 
logger  | 
protected int | 
phaseIndex  | 
protected PhaseLifecycleSupport | 
phaseLifecycleSupport  | 
protected Termination | 
termination  | 
| Constructor and Description | 
|---|
AbstractPhase()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addPhaseLifecycleListener(PhaseLifecycleListener phaseLifecycleListener)  | 
protected void | 
assertWorkingSolutionInitialized(AbstractPhaseScope phaseScope)  | 
int | 
getPhaseIndex()  | 
abstract String | 
getPhaseTypeString()  | 
Termination | 
getTermination()  | 
void | 
phaseEnded(AbstractPhaseScope phaseScope)  | 
void | 
phaseStarted(AbstractPhaseScope phaseScope)  | 
void | 
removePhaseLifecycleListener(PhaseLifecycleListener phaseLifecycleListener)  | 
void | 
setBestSolutionRecaller(BestSolutionRecaller bestSolutionRecaller)  | 
void | 
setPhaseIndex(int phaseIndex)  | 
void | 
setTermination(Termination termination)  | 
void | 
solvingEnded(DefaultSolverScope solverScope)  | 
void | 
solvingStarted(DefaultSolverScope solverScope)  | 
void | 
stepEnded(AbstractStepScope stepScope)  | 
void | 
stepStarted(AbstractStepScope stepScope)  | 
protected final transient org.slf4j.Logger logger
protected int phaseIndex
protected Termination termination
protected BestSolutionRecaller bestSolutionRecaller
protected PhaseLifecycleSupport phaseLifecycleSupport
public Termination getTermination()
public int getPhaseIndex()
public void setPhaseIndex(int phaseIndex)
public void setTermination(Termination termination)
public void setBestSolutionRecaller(BestSolutionRecaller bestSolutionRecaller)
public abstract String getPhaseTypeString()
public void solvingStarted(DefaultSolverScope solverScope)
solvingStarted in interface SolverLifecycleListenerpublic void solvingEnded(DefaultSolverScope solverScope)
solvingEnded in interface SolverLifecycleListenerpublic void phaseStarted(AbstractPhaseScope phaseScope)
phaseStarted in interface PhaseLifecycleListenerpublic void stepStarted(AbstractStepScope stepScope)
stepStarted in interface PhaseLifecycleListenerpublic void stepEnded(AbstractStepScope stepScope)
stepEnded in interface PhaseLifecycleListenerpublic void phaseEnded(AbstractPhaseScope phaseScope)
phaseEnded in interface PhaseLifecycleListenerpublic void addPhaseLifecycleListener(PhaseLifecycleListener phaseLifecycleListener)
addPhaseLifecycleListener in interface Phasepublic void removePhaseLifecycleListener(PhaseLifecycleListener phaseLifecycleListener)
removePhaseLifecycleListener in interface Phaseprotected void assertWorkingSolutionInitialized(AbstractPhaseScope phaseScope)
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.