org.optaplanner.core.impl.phase
Class AbstractPhase
java.lang.Object
   org.optaplanner.core.impl.phase.AbstractPhase
org.optaplanner.core.impl.phase.AbstractPhase
- All Implemented Interfaces: 
- EventListener, PhaseLifecycleListener, Phase, SolverLifecycleListener
- Direct Known Subclasses: 
- DefaultConstructionHeuristicPhase, DefaultCustomPhase, DefaultExhaustiveSearchPhase, DefaultLocalSearchPhase
- public abstract class AbstractPhase 
- extends Object- implements Phase
- See Also:
- DefaultLocalSearchPhase
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
| Methods inherited from interface org.optaplanner.core.impl.phase.Phase | 
| solve | 
 
logger
protected final transient org.slf4j.Logger logger
phaseIndex
protected int phaseIndex
termination
protected Termination termination
bestSolutionRecaller
protected BestSolutionRecaller bestSolutionRecaller
phaseLifecycleSupport
protected PhaseLifecycleSupport phaseLifecycleSupport
AbstractPhase
public AbstractPhase()
getTermination
public Termination getTermination()
- 
 
- 
 
getPhaseIndex
public int getPhaseIndex()
- 
 
- 
 
setPhaseIndex
public void setPhaseIndex(int phaseIndex)
- 
 
- 
 
setTermination
public void setTermination(Termination termination)
- 
 
- 
 
setBestSolutionRecaller
public void setBestSolutionRecaller(BestSolutionRecaller bestSolutionRecaller)
- 
 
- 
 
solvingStarted
public void solvingStarted(DefaultSolverScope solverScope)
- 
- Specified by:
- solvingStartedin interface- SolverLifecycleListener
 
- 
 
solvingEnded
public void solvingEnded(DefaultSolverScope solverScope)
- 
- Specified by:
- solvingEndedin interface- SolverLifecycleListener
 
- 
 
phaseStarted
public void phaseStarted(AbstractPhaseScope phaseScope)
- 
- Specified by:
- phaseStartedin interface- PhaseLifecycleListener
 
- 
 
stepStarted
public void stepStarted(AbstractStepScope stepScope)
- 
- Specified by:
- stepStartedin interface- PhaseLifecycleListener
 
- 
 
stepEnded
public void stepEnded(AbstractStepScope stepScope)
- 
- Specified by:
- stepEndedin interface- PhaseLifecycleListener
 
- 
 
phaseEnded
public void phaseEnded(AbstractPhaseScope phaseScope)
- 
- Specified by:
- phaseEndedin interface- PhaseLifecycleListener
 
- 
 
addPhaseLifecycleListener
public void addPhaseLifecycleListener(PhaseLifecycleListener phaseLifecycleListener)
- 
- Specified by:
- addPhaseLifecycleListenerin interface- Phase
 
- 
 
removePhaseLifecycleListener
public void removePhaseLifecycleListener(PhaseLifecycleListener phaseLifecycleListener)
- 
- Specified by:
- removePhaseLifecycleListenerin interface- Phase
 
- 
 
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.