org.optaplanner.core.impl.localsearch
Class DefaultLocalSearchPhase
java.lang.Object
   org.optaplanner.core.impl.phase.AbstractPhase
org.optaplanner.core.impl.phase.AbstractPhase
       org.optaplanner.core.impl.localsearch.DefaultLocalSearchPhase
org.optaplanner.core.impl.localsearch.DefaultLocalSearchPhase
- All Implemented Interfaces: 
- EventListener, LocalSearchPhaseLifecycleListener, LocalSearchPhase, PhaseLifecycleListener, Phase, SolverLifecycleListener
- public class DefaultLocalSearchPhase 
- extends AbstractPhase- implements LocalSearchPhase, LocalSearchPhaseLifecycleListener
Default implementation of LocalSearchPhase.
 
 
 
 
| Methods inherited from class org.optaplanner.core.impl.phase.AbstractPhase | 
| addPhaseLifecycleListener, getPhaseIndex, getTermination, phaseEnded, phaseStarted, removePhaseLifecycleListener, setBestSolutionRecaller, setPhaseIndex, setTermination, stepEnded, stepStarted | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
 
decider
protected LocalSearchDecider decider
assertStepScoreFromScratch
protected boolean assertStepScoreFromScratch
assertExpectedStepScore
protected boolean assertExpectedStepScore
DefaultLocalSearchPhase
public DefaultLocalSearchPhase()
getDecider
public LocalSearchDecider getDecider()
- 
 
- 
 
setDecider
public void setDecider(LocalSearchDecider decider)
- 
 
- 
 
setAssertStepScoreFromScratch
public void setAssertStepScoreFromScratch(boolean assertStepScoreFromScratch)
- 
 
- 
 
setAssertExpectedStepScore
public void setAssertExpectedStepScore(boolean assertExpectedStepScore)
- 
 
- 
 
solve
public void solve(DefaultSolverScope solverScope)
- 
- Specified by:
- solvein interface- Phase
 
- 
 
solvingStarted
public void solvingStarted(DefaultSolverScope solverScope)
- 
- Specified by:
- solvingStartedin interface- SolverLifecycleListener
- Overrides:
- solvingStartedin class- AbstractPhase
 
- 
 
phaseStarted
public void phaseStarted(LocalSearchPhaseScope phaseScope)
- 
- Specified by:
- phaseStartedin interface- LocalSearchPhaseLifecycleListener
 
- 
 
stepStarted
public void stepStarted(LocalSearchStepScope stepScope)
- 
- Specified by:
- stepStartedin interface- LocalSearchPhaseLifecycleListener
 
- 
 
stepEnded
public void stepEnded(LocalSearchStepScope stepScope)
- 
- Specified by:
- stepEndedin interface- LocalSearchPhaseLifecycleListener
 
- 
 
phaseEnded
public void phaseEnded(LocalSearchPhaseScope phaseScope)
- 
- Specified by:
- phaseEndedin interface- LocalSearchPhaseLifecycleListener
 
- 
 
solvingEnded
public void solvingEnded(DefaultSolverScope solverScope)
- 
- Specified by:
- solvingEndedin interface- SolverLifecycleListener
- Overrides:
- solvingEndedin class- AbstractPhase
 
- 
 
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.