Interface MoveListFactory<Solution_>
- Type Parameters:
Solution_- the solution type, the class with thePlanningSolutionannotation
public interface MoveListFactory<Solution_>
A simple interface to generate a
List of custom Moves.
For a more powerful version, see MoveIteratorFactory.
-
Method Summary
Modifier and TypeMethodDescriptioncreateMoveList(Solution_ solution) When it is called depends on the configuredSelectionCacheType.
-
Method Details
-
createMoveList
When it is called depends on the configuredSelectionCacheType.It can never support
SelectionCacheType.JUST_IN_TIME, because it returns aList, not anIterator.- Parameters:
solution- never null, thePlanningSolutionof which theMoves need to be generated- Returns:
- never null
-