org.drools.planner.core.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


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