Interface MoveListFactory<Solution_>
-
- Type Parameters:
Solution_
- the solution type, the class with thePlanningSolution
annotation
public interface MoveListFactory<Solution_>
A simple interface to generate aList
of customMove
s.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, thePlanningSolution
of which theMove
s need to be generated- Returns:
- never null
-
-