org.drools.planner.core.localsearch.decider.selector
Class CompositeSelector
java.lang.Object
org.drools.planner.core.localsearch.event.LocalSearchSolverPhaseLifecycleListenerAdapter
org.drools.planner.core.localsearch.decider.selector.AbstractSelector
org.drools.planner.core.localsearch.decider.selector.CompositeSelector
- All Implemented Interfaces:
- EventListener, DeciderAware, Selector, LocalSearchSolverPhaseLifecycleListener
public class CompositeSelector
- extends AbstractSelector
A CompositeSelector unions multiple Selectors.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
selectorList
protected List<Selector> selectorList
CompositeSelector
public CompositeSelector()
setSelectorList
public void setSelectorList(List<Selector> selectorList)
setDecider
public void setDecider(Decider decider)
- Specified by:
setDecider
in interface DeciderAware
- Overrides:
setDecider
in class AbstractSelector
phaseStarted
public void phaseStarted(LocalSearchSolverPhaseScope localSearchSolverPhaseScope)
- Specified by:
phaseStarted
in interface LocalSearchSolverPhaseLifecycleListener
- Overrides:
phaseStarted
in class LocalSearchSolverPhaseLifecycleListenerAdapter
beforeDeciding
public void beforeDeciding(LocalSearchStepScope localSearchStepScope)
- Specified by:
beforeDeciding
in interface LocalSearchSolverPhaseLifecycleListener
- Overrides:
beforeDeciding
in class LocalSearchSolverPhaseLifecycleListenerAdapter
moveIterator
public Iterator<Move> moveIterator(LocalSearchStepScope localSearchStepScope)
stepDecided
public void stepDecided(LocalSearchStepScope localSearchStepScope)
- Specified by:
stepDecided
in interface LocalSearchSolverPhaseLifecycleListener
- Overrides:
stepDecided
in class LocalSearchSolverPhaseLifecycleListenerAdapter
stepTaken
public void stepTaken(LocalSearchStepScope localSearchStepScope)
- Specified by:
stepTaken
in interface LocalSearchSolverPhaseLifecycleListener
- Overrides:
stepTaken
in class LocalSearchSolverPhaseLifecycleListenerAdapter
phaseEnded
public void phaseEnded(LocalSearchSolverPhaseScope localSearchSolverPhaseScope)
- Specified by:
phaseEnded
in interface LocalSearchSolverPhaseLifecycleListener
- Overrides:
phaseEnded
in class LocalSearchSolverPhaseLifecycleListenerAdapter
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.