Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`PlanningEntitySelector(PlanningEntityDescriptor planningEntityDescriptor)`

Method Summary
`Iterator<Object>` | `iterator()`
`void` | `phaseEnded(AbstractSolverPhaseScope solverPhaseScope)`
`void` | `phaseStarted(AbstractSolverPhaseScope solverPhaseScope)`
`void` | `setResetInitializedPlanningEntities(boolean resetInitializedPlanningEntities)`
`void` | `setSelectionOrder(PlanningEntitySelectionOrder selectionOrder)`

Methods inherited from class org.drools.planner.core.phase.event.SolverPhaseLifecycleListenerAdapter
`beforeDeciding, stepDecided, stepTaken`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PlanningEntitySelector

    public PlanningEntitySelector(PlanningEntityDescriptor planningEntityDescriptor)

Method Detail

### 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>`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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