org.drools.planner.core.localsearch.decider.selector
Class MoveFactorySelector
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.MoveFactorySelector
- All Implemented Interfaces:
- EventListener, DeciderAware, Selector, LocalSearchSolverPhaseLifecycleListener
public class MoveFactorySelector
- extends AbstractSelector
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
moveFactory
protected MoveFactory moveFactory
shuffle
protected boolean shuffle
MoveFactorySelector
public MoveFactorySelector()
setMoveFactory
public void setMoveFactory(MoveFactory moveFactory)
setShuffle
public void setShuffle(boolean shuffle)
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)
selectMoveList
public List<Move> selectMoveList(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.