OptaPlanner distribution 6.0.1-SNAPSHOT

org.optaplanner.examples.examination.solver.move.factory
Class RoomChangeMoveFactory

java.lang.Object
  extended by org.optaplanner.examples.examination.solver.move.factory.RoomChangeMoveFactory
All Implemented Interfaces:
MoveListFactory<Examination>

public class RoomChangeMoveFactory
extends Object
implements MoveListFactory<Examination>


Constructor Summary
RoomChangeMoveFactory()
           
 
Method Summary
 List<Move> createMoveList(Examination examination)
          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

RoomChangeMoveFactory

public RoomChangeMoveFactory()
Method Detail

createMoveList

public List<Move> createMoveList(Examination examination)
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<Examination>
Parameters:
examination - never null, the Solution of which the Moves need to be generated
Returns:
never null

OptaPlanner distribution 6.0.1-SNAPSHOT

Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.