org.drools.planner.core.constructionheuristic.greedyFit.selector
Class GreedyPlanningEntitySelector

java.lang.Object
  extended by org.drools.planner.core.constructionheuristic.greedyFit.selector.GreedyPlanningEntitySelector
All Implemented Interfaces:
Iterable<Object>, EventListener, GreedySolverPhaseLifecycleListener

public class GreedyPlanningEntitySelector
extends Object
implements Iterable<Object>, GreedySolverPhaseLifecycleListener

Determines the order in which the planning entities are fit into the solution


Constructor Summary
GreedyPlanningEntitySelector()
           
 
Method Summary
 void beforeDeciding(GreedyFitStepScope greedyFitStepScope)
           
 Iterator<Object> iterator()
           
 void phaseEnded(GreedyFitSolverPhaseScope greedyFitSolverPhaseScope)
           
 void phaseStarted(GreedyFitSolverPhaseScope greedyFitSolverPhaseScope)
           
 void setPlanningEntitySelectorList(List<PlanningEntitySelector> planningEntitySelectorList)
           
 void stepDecided(GreedyFitStepScope greedyFitStepScope)
           
 void stepTaken(GreedyFitStepScope greedyFitStepScope)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GreedyPlanningEntitySelector

public GreedyPlanningEntitySelector()
Method Detail

setPlanningEntitySelectorList

public void setPlanningEntitySelectorList(List<PlanningEntitySelector> planningEntitySelectorList)

phaseStarted

public void phaseStarted(GreedyFitSolverPhaseScope greedyFitSolverPhaseScope)
Specified by:
phaseStarted in interface GreedySolverPhaseLifecycleListener

beforeDeciding

public void beforeDeciding(GreedyFitStepScope greedyFitStepScope)
Specified by:
beforeDeciding in interface GreedySolverPhaseLifecycleListener

stepDecided

public void stepDecided(GreedyFitStepScope greedyFitStepScope)
Specified by:
stepDecided in interface GreedySolverPhaseLifecycleListener

stepTaken

public void stepTaken(GreedyFitStepScope greedyFitStepScope)
Specified by:
stepTaken in interface GreedySolverPhaseLifecycleListener

phaseEnded

public void phaseEnded(GreedyFitSolverPhaseScope greedyFitSolverPhaseScope)
Specified by:
phaseEnded in interface GreedySolverPhaseLifecycleListener

iterator

public Iterator<Object> iterator()
Specified by:
iterator in interface Iterable<Object>


Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.