org.drools.planner.core.constructionheuristic.greedyFit
Class DefaultGreedyFitSolverPhase
java.lang.Object
org.drools.planner.core.phase.AbstractSolverPhase
org.drools.planner.core.constructionheuristic.greedyFit.DefaultGreedyFitSolverPhase
- All Implemented Interfaces:
- EventListener, GreedyFitSolverPhase, SolverPhaseLifecycleListener, SolverPhase
public class DefaultGreedyFitSolverPhase
- extends AbstractSolverPhase
- implements GreedyFitSolverPhase
Default implementation of GreedyFitSolverPhase
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
greedyPlanningEntitySelector
protected GreedyPlanningEntitySelector greedyPlanningEntitySelector
greedyDecider
protected GreedyDecider greedyDecider
assertStepScoreIsUncorrupted
protected boolean assertStepScoreIsUncorrupted
DefaultGreedyFitSolverPhase
public DefaultGreedyFitSolverPhase()
setGreedyPlanningEntitySelector
public void setGreedyPlanningEntitySelector(GreedyPlanningEntitySelector greedyPlanningEntitySelector)
setGreedyDecider
public void setGreedyDecider(GreedyDecider greedyDecider)
setAssertStepScoreIsUncorrupted
public void setAssertStepScoreIsUncorrupted(boolean assertStepScoreIsUncorrupted)
solve
public void solve(DefaultSolverScope solverScope)
- Specified by:
solve
in interface SolverPhase
phaseStarted
public void phaseStarted(GreedyFitSolverPhaseScope greedyFitSolverPhaseScope)
beforeDeciding
public void beforeDeciding(GreedyFitStepScope greedyFitStepScope)
stepDecided
public void stepDecided(GreedyFitStepScope greedyFitStepScope)
stepTaken
public void stepTaken(GreedyFitStepScope greedyFitStepScope)
phaseEnded
public void phaseEnded(GreedyFitSolverPhaseScope greedyFitSolverPhaseScope)
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.