org.drools.planner.core.heuristic.selector.entity
Class PlanningEntitySelector
java.lang.Object
org.drools.planner.core.phase.event.SolverPhaseLifecycleListenerAdapter
org.drools.planner.core.heuristic.selector.entity.PlanningEntitySelector
- All Implemented Interfaces:
- Iterable<Object>, EventListener, SolverPhaseLifecycleListener
public class PlanningEntitySelector
- extends SolverPhaseLifecycleListenerAdapter
- implements Iterable<Object>
Determines the order in which the planning entities of 1 planning entity class are selected for an algorithm
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlanningEntitySelector
public PlanningEntitySelector(PlanningEntityDescriptor planningEntityDescriptor)
setSelectionOrder
public void setSelectionOrder(PlanningEntitySelectionOrder selectionOrder)
setResetInitializedPlanningEntities
public void setResetInitializedPlanningEntities(boolean resetInitializedPlanningEntities)
phaseStarted
public void phaseStarted(AbstractSolverPhaseScope solverPhaseScope)
- Specified by:
phaseStarted
in interface SolverPhaseLifecycleListener
- Overrides:
phaseStarted
in class SolverPhaseLifecycleListenerAdapter
phaseEnded
public void phaseEnded(AbstractSolverPhaseScope solverPhaseScope)
- Specified by:
phaseEnded
in interface SolverPhaseLifecycleListener
- Overrides:
phaseEnded
in class SolverPhaseLifecycleListenerAdapter
iterator
public Iterator<Object> iterator()
- Specified by:
iterator
in interface Iterable<Object>
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.