org.drools.planner.core.localsearch
Class DefaultLocalSearchSolverPhase
java.lang.Object
org.drools.planner.core.phase.AbstractSolverPhase
org.drools.planner.core.localsearch.DefaultLocalSearchSolverPhase
- All Implemented Interfaces:
- EventListener, LocalSearchSolverPhaseLifecycleListener, LocalSearchSolverPhase, SolverPhaseLifecycleListener, SolverPhase
public class DefaultLocalSearchSolverPhase
- extends AbstractSolverPhase
- implements LocalSearchSolverPhase, LocalSearchSolverPhaseLifecycleListener
Default implementation of LocalSearchSolverPhase
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
decider
protected Decider decider
assertStepScoreIsUncorrupted
protected boolean assertStepScoreIsUncorrupted
DefaultLocalSearchSolverPhase
public DefaultLocalSearchSolverPhase()
setDecider
public void setDecider(Decider decider)
setAssertStepScoreIsUncorrupted
public void setAssertStepScoreIsUncorrupted(boolean assertStepScoreIsUncorrupted)
solve
public void solve(DefaultSolverScope solverScope)
- Specified by:
solve
in interface SolverPhase
phaseStarted
public void phaseStarted(LocalSearchSolverPhaseScope localSearchSolverPhaseScope)
- Specified by:
phaseStarted
in interface LocalSearchSolverPhaseLifecycleListener
beforeDeciding
public void beforeDeciding(LocalSearchStepScope localSearchStepScope)
- Specified by:
beforeDeciding
in interface LocalSearchSolverPhaseLifecycleListener
stepDecided
public void stepDecided(LocalSearchStepScope localSearchStepScope)
- Specified by:
stepDecided
in interface LocalSearchSolverPhaseLifecycleListener
stepTaken
public void stepTaken(LocalSearchStepScope localSearchStepScope)
- Specified by:
stepTaken
in interface LocalSearchSolverPhaseLifecycleListener
phaseEnded
public void phaseEnded(LocalSearchSolverPhaseScope localSearchSolverPhaseScope)
- Specified by:
phaseEnded
in interface LocalSearchSolverPhaseLifecycleListener
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.