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