OptaPlanner core 6.0.0.CR2

org.optaplanner.core.impl.heuristic.selector.move.factory
Interface MoveListFactory


public interface MoveListFactory

A simple interface to generate a List of custom Moves.

For a more powerful version, see MoveIteratorFactory.


Method Summary
 List<Move> createMoveList(Solution solution)
          When it is called depends on the configured SelectionCacheType.
 

Method Detail

createMoveList

List<Move> createMoveList(Solution solution)
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.

Parameters:
solution - never null, the Solution of which the Moves need to be generated
Returns:
never null

OptaPlanner core 6.0.0.CR2

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