Drools Planner distribution 6.0.0.Alpha9

org.drools.planner.examples.nurserostering.solver.move.factory
Class ShiftAssignmentSequenceSwitchLength3MoveFactory

java.lang.Object
  extended by org.drools.planner.examples.nurserostering.solver.move.factory.ShiftAssignmentSequenceSwitchLength3MoveFactory
All Implemented Interfaces:
MoveListFactory

public class ShiftAssignmentSequenceSwitchLength3MoveFactory
extends Object
implements MoveListFactory


Constructor Summary
ShiftAssignmentSequenceSwitchLength3MoveFactory()
           
 
Method Summary
 List<Move> createMoveList(Solution solution)
          When it is called depends on the configured SelectionCacheType.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShiftAssignmentSequenceSwitchLength3MoveFactory

public ShiftAssignmentSequenceSwitchLength3MoveFactory()
Method Detail

createMoveList

public List<Move> createMoveList(Solution solution)
Description copied from interface: MoveListFactory
When it is called depends on the configured SelectionCacheType.

It can never support SelectionCacheType.JUST_IN_TIME, because it returns a List, not an Iterator.

Specified by:
createMoveList in interface MoveListFactory
Parameters:
solution - never null, the Solution of which the Moves need to be generated
Returns:
never null

Drools Planner distribution 6.0.0.Alpha9

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