Interface MoveListFactory<Solution_>
-
- Type Parameters:
Solution_- the solution type, the class with thePlanningSolutionannotation
public interface MoveListFactory<Solution_>A simple interface to generate aListof customMoves.For a more powerful version, see
MoveIteratorFactory.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<? extends Move<Solution_>>createMoveList(Solution_ solution)When it is called depends on the configuredSelectionCacheType.
-
-
-
Method Detail
-
createMoveList
List<? extends Move<Solution_>> createMoveList(Solution_ solution)
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
-
-