OptaPlanner core 6.0.1.Final

org.optaplanner.core.impl.heuristic.selector.move.factory
Interface MoveListFactory<SolutionG extends Solution>


public interface MoveListFactory<SolutionG extends Solution>

A simple interface to generate a List of custom Moves.

For a more powerful version, see MoveIteratorFactory.


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

Method Detail

createMoveList

List<? extends Move> createMoveList(SolutionG 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.1.Final

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