org.drools.planner.core.phase.custom
Class DefaultCustomSolverPhase
java.lang.Object
org.drools.planner.core.phase.AbstractSolverPhase
org.drools.planner.core.phase.custom.DefaultCustomSolverPhase
- All Implemented Interfaces:
- EventListener, CustomSolverPhase, SolverPhaseLifecycleListener, SolverPhase, SolverLifecycleListener
public class DefaultCustomSolverPhase
- extends AbstractSolverPhase
- implements CustomSolverPhase
Default implementation of CustomSolverPhase
.
Methods inherited from class org.drools.planner.core.phase.AbstractSolverPhase |
addSolverPhaseLifecycleListener, getPhaseIndex, getTermination, phaseEnded, phaseStarted, removeSolverPhaseLifecycleListener, setBestSolutionRecaller, setPhaseIndex, setTermination, solvingEnded, solvingStarted, stepEnded, stepStarted |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
customSolverPhaseCommandList
protected List<CustomSolverPhaseCommand> customSolverPhaseCommandList
forceUpdateBestSolution
protected boolean forceUpdateBestSolution
DefaultCustomSolverPhase
public DefaultCustomSolverPhase()
setCustomSolverPhaseCommandList
public void setCustomSolverPhaseCommandList(List<CustomSolverPhaseCommand> customSolverPhaseCommandList)
setForceUpdateBestSolution
public void setForceUpdateBestSolution(boolean forceUpdateBestSolution)
solve
public void solve(DefaultSolverScope solverScope)
- Specified by:
solve
in interface SolverPhase
phaseStarted
public void phaseStarted(CustomSolverPhaseScope phaseScope)
stepStarted
public void stepStarted(CustomStepScope stepScope)
stepEnded
public void stepEnded(CustomStepScope stepScope)
phaseEnded
public void phaseEnded(CustomSolverPhaseScope phaseScope)
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.