Interface MoveSelectorFactory<Solution_>
- All Known Implementing Classes:
AbstractMoveSelectorFactory
,CartesianProductMoveSelectorFactory
,ChangeMoveSelectorFactory
,KOptListMoveSelectorFactory
,KOptMoveSelectorFactory
,MoveIteratorFactoryFactory
,MoveListFactoryFactory
,PillarChangeMoveSelectorFactory
,PillarSwapMoveSelectorFactory
,SubChainChangeMoveSelectorFactory
,SubChainSwapMoveSelectorFactory
,SubListChangeMoveSelectorFactory
,SubListSwapMoveSelectorFactory
,SwapMoveSelectorFactory
,TailChainSwapMoveSelectorFactory
,UnionMoveSelectorFactory
public interface MoveSelectorFactory<Solution_>
-
Method Summary
Modifier and TypeMethodDescriptionbuildMoveSelector
(HeuristicConfigPolicy<Solution_> configPolicy, SelectionCacheType minimumCacheType, SelectionOrder inheritedSelectionOrder) BuildsMoveSelector
from theMoveSelectorConfig
and provided parameters.static <Solution_>
MoveSelectorFactory<Solution_>create
(MoveSelectorConfig<?> moveSelectorConfig)
-
Method Details
-
create
-
buildMoveSelector
MoveSelector<Solution_> buildMoveSelector(HeuristicConfigPolicy<Solution_> configPolicy, SelectionCacheType minimumCacheType, SelectionOrder inheritedSelectionOrder) BuildsMoveSelector
from theMoveSelectorConfig
and provided parameters.- Parameters:
configPolicy
- never nullminimumCacheType
- never null, If caching is used (different fromSelectionCacheType.JUST_IN_TIME
), then it should be at least thisSelectionCacheType
because an ancestor already uses such caching and less would be pointless.inheritedSelectionOrder
- never null- Returns:
- never null
-