org.drools.planner.core.move.generic
Class GenericSwapMoveFactory

java.lang.Object
  extended by org.drools.planner.core.move.factory.AbstractMoveFactory
      extended by org.drools.planner.core.move.factory.CachedMoveFactory
          extended by org.drools.planner.core.move.generic.GenericSwapMoveFactory
All Implemented Interfaces:
EventListener, DeciderAware, LocalSearchSolverPhaseLifecycleListener, MoveFactory

public class GenericSwapMoveFactory
extends CachedMoveFactory


Field Summary
 
Fields inherited from class org.drools.planner.core.move.factory.CachedMoveFactory
cachedMoveList
 
Fields inherited from class org.drools.planner.core.move.factory.AbstractMoveFactory
decider, logger
 
Constructor Summary
GenericSwapMoveFactory()
           
 
Method Summary
 List<Move> createCachedMoveList(Solution solution)
           
 void phaseEnded(LocalSearchSolverPhaseScope localSearchSolverPhaseScope)
           
 void phaseStarted(LocalSearchSolverPhaseScope localSearchSolverPhaseScope)
           
 
Methods inherited from class org.drools.planner.core.move.factory.CachedMoveFactory
createMoveList, getCachedMoveList
 
Methods inherited from class org.drools.planner.core.move.factory.AbstractMoveFactory
beforeDeciding, setDecider, stepDecided, stepTaken
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericSwapMoveFactory

public GenericSwapMoveFactory()
Method Detail

phaseStarted

public void phaseStarted(LocalSearchSolverPhaseScope localSearchSolverPhaseScope)
Specified by:
phaseStarted in interface LocalSearchSolverPhaseLifecycleListener
Overrides:
phaseStarted in class CachedMoveFactory

phaseEnded

public void phaseEnded(LocalSearchSolverPhaseScope localSearchSolverPhaseScope)
Specified by:
phaseEnded in interface LocalSearchSolverPhaseLifecycleListener
Overrides:
phaseEnded in class AbstractMoveFactory

createCachedMoveList

public List<Move> createCachedMoveList(Solution solution)
Specified by:
createCachedMoveList in class CachedMoveFactory


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