org.optaplanner.examples.cloudbalancing.solver.move.factory
Class CloudProcessSwapMoveFactory
java.lang.Object
org.optaplanner.examples.cloudbalancing.solver.move.factory.CloudProcessSwapMoveFactory
- All Implemented Interfaces:
- MoveListFactory<CloudBalance>
public class CloudProcessSwapMoveFactory
- extends Object
- implements MoveListFactory<CloudBalance>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CloudProcessSwapMoveFactory
public CloudProcessSwapMoveFactory()
createMoveList
public List<Move> createMoveList(CloudBalance cloudBalance)
- 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<CloudBalance>
- Parameters:
cloudBalance - never null, the Solution of which the Moves need to be generated
- Returns:
- never null
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.