Class MoveListFactoryFactory<Solution_>
java.lang.Object
ai.timefold.solver.core.impl.AbstractFromConfigFactory<Solution_,SelectorConfig_>
ai.timefold.solver.core.impl.heuristic.selector.AbstractSelectorFactory<Solution_,MoveSelectorConfig_>
ai.timefold.solver.core.impl.heuristic.selector.move.AbstractMoveSelectorFactory<Solution_,MoveListFactoryConfig>
ai.timefold.solver.core.impl.heuristic.selector.move.factory.MoveListFactoryFactory<Solution_>
- All Implemented Interfaces:
MoveSelectorFactory<Solution_>
public class MoveListFactoryFactory<Solution_>
extends AbstractMoveSelectorFactory<Solution_,MoveListFactoryConfig>
-
Field Summary
Fields inherited from class ai.timefold.solver.core.impl.AbstractFromConfigFactory
config -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildBaseMoveSelector(HeuristicConfigPolicy<Solution_> configPolicy, SelectionCacheType minimumCacheType, boolean randomSelection) Builds a baseMoveSelectorwithout any advanced capabilities (filtering, sorting, ...).protected booleanMethods inherited from class ai.timefold.solver.core.impl.heuristic.selector.move.AbstractMoveSelectorFactory
applySorting, buildMoveSelector, buildUnfoldedMoveSelectorConfig, checkUnfolded, determineBaseRandomSelection, validateSortingMethods inherited from class ai.timefold.solver.core.impl.heuristic.selector.AbstractSelectorFactory
validateCacheTypeVersusSelectionOrderMethods inherited from class ai.timefold.solver.core.impl.AbstractFromConfigFactory
deduceBasicVariableDescriptorList, deduceEntityDescriptor, deduceEntitySortManner, deduceGenuineVariableDescriptor, deduceVariableDescriptorList, getDefaultEntitySelectorConfigForEntity, getTheOnlyEntityDescriptor, getTheOnlyEntityDescriptorWithBasicVariables, getTheOnlyEntityDescriptorWithListVariable, getTheOnlyVariableDescriptor, getVariableDescriptorForName
-
Constructor Details
-
MoveListFactoryFactory
-
-
Method Details
-
buildBaseMoveSelector
public MoveSelector<Solution_> buildBaseMoveSelector(HeuristicConfigPolicy<Solution_> configPolicy, SelectionCacheType minimumCacheType, boolean randomSelection) Description copied from class:AbstractMoveSelectorFactoryBuilds a baseMoveSelectorwithout any advanced capabilities (filtering, sorting, ...).- Specified by:
buildBaseMoveSelectorin classAbstractMoveSelectorFactory<Solution_,MoveListFactoryConfig> - Parameters:
configPolicy- never nullminimumCacheType- never null, If caching is used (different fromSelectionCacheType.JUST_IN_TIME), then it should be at least thisSelectionCacheTypebecause an ancestor already uses such caching and less would be pointless.randomSelection- true is equivalent toSelectionOrder.RANDOM, false is equivalent toSelectionOrder.ORIGINAL- Returns:
- never null
-
isBaseInherentlyCached
protected boolean isBaseInherentlyCached()- Overrides:
isBaseInherentlyCachedin classAbstractMoveSelectorFactory<Solution_,MoveListFactoryConfig>
-