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.variable
Class PlanningValueSelector

    java.lang.Object
      org.drools.planner.core.phase.event.SolverPhaseLifecycleListenerAdapter
          org.drools.planner.core.heuristic.selector.variable.PlanningValueSelector

All Implemented Interfaces:
  EventListener, SolverPhaseLifecycleListener

    public class PlanningValueSelector

extends SolverPhaseLifecycleListenerAdapter

Determines the order in which the planning values of 1 planning entity class are selected for an algorithm

Constructor Summary
`PlanningValueSelector(PlanningVariableDescriptor planningVariableDescriptor)`

Method Summary
`Iterator<?>` | `iterator(Object planningEntity)`
`void` | `phaseEnded(AbstractSolverPhaseScope solverPhaseScope)`
`void` | `phaseStarted(AbstractSolverPhaseScope solverPhaseScope)`
`void` | `setRoundRobinSelection(boolean roundRobinSelection)`
`void` | `setSelectionOrder(PlanningValueSelectionOrder selectionOrder)`
`void` | `setSelectionPromotion(PlanningValueSelectionPromotion selectionPromotion)`

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

### PlanningValueSelector

    public PlanningValueSelector(PlanningVariableDescriptor planningVariableDescriptor)

Method Detail

### setSelectionOrder

    public void setSelectionOrder(PlanningValueSelectionOrder selectionOrder)

### setSelectionPromotion

    public void setSelectionPromotion(PlanningValueSelectionPromotion selectionPromotion)

### setRoundRobinSelection

    public void setRoundRobinSelection(boolean roundRobinSelection)

### 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<?> iterator(Object planningEntity)

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-2011 JBoss by Red Hat. All Rights Reserved.