Uses of Enum
org.optaplanner.core.config.heuristic.selector.common.SelectionCacheType
Package
Description
Contains classes relevant to K-Opt moves.
-
Uses of SelectionCacheType in org.optaplanner.core.config.heuristic.selector.common
Modifier and TypeMethodDescriptionstatic SelectionCacheType
SelectionCacheType.max
(SelectionCacheType a, SelectionCacheType b) static SelectionCacheType
SelectionCacheType.resolve
(SelectionCacheType cacheType, SelectionCacheType minimumCacheType) static SelectionCacheType
Returns the enum constant of this type with the specified name.static SelectionCacheType[]
SelectionCacheType.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionstatic SelectionCacheType
SelectionCacheType.max
(SelectionCacheType a, SelectionCacheType b) static SelectionCacheType
SelectionCacheType.resolve
(SelectionCacheType cacheType, SelectionCacheType minimumCacheType) -
Uses of SelectionCacheType in org.optaplanner.core.config.heuristic.selector.common.nearby
Modifier and TypeMethodDescriptionvoid
NearbySelectionConfig.validateNearby
(SelectionCacheType resolvedCacheType, SelectionOrder resolvedSelectionOrder) -
Uses of SelectionCacheType in org.optaplanner.core.config.heuristic.selector.entity
Modifier and TypeMethodDescriptionvoid
EntitySelectorConfig.setCacheType
(SelectionCacheType cacheType) EntitySelectorConfig.withCacheType
(SelectionCacheType cacheType) -
Uses of SelectionCacheType in org.optaplanner.core.config.heuristic.selector.move
Modifier and TypeMethodDescriptionvoid
MoveSelectorConfig.setCacheType
(SelectionCacheType cacheType) MoveSelectorConfig.withCacheType
(SelectionCacheType cacheType) -
Uses of SelectionCacheType in org.optaplanner.core.config.heuristic.selector.value
Modifier and TypeMethodDescriptionvoid
ValueSelectorConfig.setCacheType
(SelectionCacheType cacheType) ValueSelectorConfig.withCacheType
(SelectionCacheType cacheType) -
Uses of SelectionCacheType in org.optaplanner.core.impl.heuristic.selector
Modifier and TypeMethodDescriptionAbstractSelector.getCacheType()
Selector.getCacheType()
Unless this selector itself caches, this returnsJUST_IN_TIME
, even if a selector child caches.Modifier and TypeMethodDescriptionprotected void
AbstractSelectorFactory.validateCacheTypeVersusSelectionOrder
(SelectionCacheType resolvedCacheType, SelectionOrder resolvedSelectionOrder) -
Uses of SelectionCacheType in org.optaplanner.core.impl.heuristic.selector.common
Modifier and TypeFieldDescriptionprotected final SelectionCacheType
SelectionCacheLifecycleBridge.cacheType
ModifierConstructorDescriptionSelectionCacheLifecycleBridge
(SelectionCacheType cacheType, SelectionCacheLifecycleListener<Solution_> selectionCacheLifecycleListener) -
Uses of SelectionCacheType in org.optaplanner.core.impl.heuristic.selector.entity
Modifier and TypeFieldDescriptionprotected final SelectionCacheType
FromSolutionEntitySelector.minimumCacheType
Modifier and TypeMethodDescriptionprotected EntitySelector<Solution_>
EntitySelectorFactory.applyProbability
(SelectionCacheType resolvedCacheType, SelectionOrder resolvedSelectionOrder, EntitySelector<Solution_> entitySelector, ClassInstanceCache instanceCache) protected EntitySelector<Solution_>
EntitySelectorFactory.applySorting
(SelectionCacheType resolvedCacheType, SelectionOrder resolvedSelectionOrder, EntitySelector<Solution_> entitySelector, ClassInstanceCache instanceCache) EntitySelectorFactory.buildEntitySelector
(HeuristicConfigPolicy<Solution_> configPolicy, SelectionCacheType minimumCacheType, SelectionOrder inheritedSelectionOrder) protected boolean
EntitySelectorFactory.determineBaseRandomSelection
(EntityDescriptor<Solution_> entityDescriptor, SelectionCacheType resolvedCacheType, SelectionOrder resolvedSelectionOrder) ModifierConstructorDescriptionFromSolutionEntitySelector
(EntityDescriptor<Solution_> entityDescriptor, SelectionCacheType minimumCacheType, boolean randomSelection) -
Uses of SelectionCacheType in org.optaplanner.core.impl.heuristic.selector.entity.decorator
Modifier and TypeFieldDescriptionprotected final SelectionCacheType
AbstractCachingEntitySelector.cacheType
Modifier and TypeMethodDescriptionAbstractCachingEntitySelector.getCacheType()
ProbabilityEntitySelector.getCacheType()
ModifierConstructorDescriptionAbstractCachingEntitySelector
(EntitySelector<Solution_> childEntitySelector, SelectionCacheType cacheType) CachingEntitySelector
(EntitySelector<Solution_> childEntitySelector, SelectionCacheType cacheType, boolean randomSelection) ProbabilityEntitySelector
(EntitySelector<Solution_> childEntitySelector, SelectionCacheType cacheType, SelectionProbabilityWeightFactory<Solution_, Object> probabilityWeightFactory) ShufflingEntitySelector
(EntitySelector<Solution_> childEntitySelector, SelectionCacheType cacheType) SortingEntitySelector
(EntitySelector<Solution_> childEntitySelector, SelectionCacheType cacheType, SelectionSorter<Solution_, Object> sorter) -
Uses of SelectionCacheType in org.optaplanner.core.impl.heuristic.selector.entity.pillar
Modifier and TypeMethodDescriptionPillarSelectorFactory.buildPillarSelector
(HeuristicConfigPolicy<Solution_> configPolicy, SubPillarType subPillarType, Class<? extends Comparator<Object>> subPillarSequenceComparatorClass, SelectionCacheType minimumCacheType, SelectionOrder inheritedSelectionOrder, List<String> variableNameIncludeList) -
Uses of SelectionCacheType in org.optaplanner.core.impl.heuristic.selector.list
Modifier and TypeMethodDescriptionDestinationSelectorFactory.buildDestinationSelector
(HeuristicConfigPolicy<Solution_> configPolicy, SelectionCacheType minimumCacheType, boolean randomSelection) SubListSelectorFactory.buildSubListSelector
(HeuristicConfigPolicy<Solution_> configPolicy, EntitySelector<Solution_> entitySelector, SelectionCacheType minimumCacheType, SelectionOrder inheritedSelectionOrder) -
Uses of SelectionCacheType in org.optaplanner.core.impl.heuristic.selector.move
Modifier and TypeMethodDescriptionprotected MoveSelector<Solution_>
AbstractMoveSelectorFactory.applySorting
(SelectionCacheType resolvedCacheType, SelectionOrder resolvedSelectionOrder, MoveSelector<Solution_> moveSelector) protected abstract MoveSelector<Solution_>
AbstractMoveSelectorFactory.buildBaseMoveSelector
(HeuristicConfigPolicy<Solution_> configPolicy, SelectionCacheType minimumCacheType, boolean randomSelection) Builds a baseMoveSelector
without any advanced capabilities (filtering, sorting, ...).AbstractMoveSelectorFactory.buildMoveSelector
(HeuristicConfigPolicy<Solution_> configPolicy, SelectionCacheType minimumCacheType, SelectionOrder inheritedSelectionOrder) BuildsMoveSelector
from theMoveSelectorConfig
and provided parameters.MoveSelectorFactory.buildMoveSelector
(HeuristicConfigPolicy<Solution_> configPolicy, SelectionCacheType minimumCacheType, SelectionOrder inheritedSelectionOrder) BuildsMoveSelector
from theMoveSelectorConfig
and provided parameters.protected boolean
AbstractMoveSelectorFactory.determineBaseRandomSelection
(SelectionCacheType resolvedCacheType, SelectionOrder resolvedSelectionOrder) -
Uses of SelectionCacheType in org.optaplanner.core.impl.heuristic.selector.move.composite
Modifier and TypeMethodDescriptionCartesianProductMoveSelectorFactory.buildBaseMoveSelector
(HeuristicConfigPolicy<Solution_> configPolicy, SelectionCacheType minimumCacheType, boolean randomSelection) UnionMoveSelectorFactory.buildBaseMoveSelector
(HeuristicConfigPolicy<Solution_> configPolicy, SelectionCacheType minimumCacheType, boolean randomSelection) -
Uses of SelectionCacheType in org.optaplanner.core.impl.heuristic.selector.move.decorator
Modifier and TypeFieldDescriptionprotected final SelectionCacheType
AbstractCachingMoveSelector.cacheType
protected final SelectionCacheType
ProbabilityMoveSelector.cacheType
Modifier and TypeMethodDescriptionAbstractCachingMoveSelector.getCacheType()
ProbabilityMoveSelector.getCacheType()
ModifierConstructorDescriptionAbstractCachingMoveSelector
(MoveSelector<Solution_> childMoveSelector, SelectionCacheType cacheType) CachingMoveSelector
(MoveSelector<Solution_> childMoveSelector, SelectionCacheType cacheType, boolean randomSelection) ProbabilityMoveSelector
(MoveSelector<Solution_> childMoveSelector, SelectionCacheType cacheType, SelectionProbabilityWeightFactory<Solution_, ? extends Move<Solution_>> probabilityWeightFactory) ShufflingMoveSelector
(MoveSelector<Solution_> childMoveSelector, SelectionCacheType cacheType) SortingMoveSelector
(MoveSelector<Solution_> childMoveSelector, SelectionCacheType cacheType, SelectionSorter<Solution_, Move<Solution_>> sorter) -
Uses of SelectionCacheType in org.optaplanner.core.impl.heuristic.selector.move.factory
Modifier and TypeFieldDescriptionprotected final SelectionCacheType
MoveListFactoryToMoveSelectorBridge.cacheType
Modifier and TypeMethodDescriptionMoveIteratorFactoryFactory.buildBaseMoveSelector
(HeuristicConfigPolicy<Solution_> configPolicy, SelectionCacheType minimumCacheType, boolean randomSelection) MoveListFactoryFactory.buildBaseMoveSelector
(HeuristicConfigPolicy<Solution_> configPolicy, SelectionCacheType minimumCacheType, boolean randomSelection) ModifierConstructorDescriptionMoveListFactoryToMoveSelectorBridge
(MoveListFactory<Solution_> moveListFactory, SelectionCacheType cacheType, boolean randomSelection) -
Uses of SelectionCacheType in org.optaplanner.core.impl.heuristic.selector.move.generic
Modifier and TypeMethodDescriptionprotected MoveSelector<Solution_>
ChangeMoveSelectorFactory.buildBaseMoveSelector
(HeuristicConfigPolicy<Solution_> configPolicy, SelectionCacheType minimumCacheType, boolean randomSelection) protected MoveSelector<Solution_>
PillarChangeMoveSelectorFactory.buildBaseMoveSelector
(HeuristicConfigPolicy<Solution_> configPolicy, SelectionCacheType minimumCacheType, boolean randomSelection) protected MoveSelector<Solution_>
PillarSwapMoveSelectorFactory.buildBaseMoveSelector
(HeuristicConfigPolicy<Solution_> configPolicy, SelectionCacheType minimumCacheType, boolean randomSelection) protected MoveSelector<Solution_>
SwapMoveSelectorFactory.buildBaseMoveSelector
(HeuristicConfigPolicy<Solution_> configPolicy, SelectionCacheType minimumCacheType, boolean randomSelection) -
Uses of SelectionCacheType in org.optaplanner.core.impl.heuristic.selector.move.generic.chained
Modifier and TypeMethodDescriptionprotected MoveSelector<Solution_>
KOptMoveSelectorFactory.buildBaseMoveSelector
(HeuristicConfigPolicy<Solution_> configPolicy, SelectionCacheType minimumCacheType, boolean randomSelection) protected MoveSelector<Solution_>
SubChainChangeMoveSelectorFactory.buildBaseMoveSelector
(HeuristicConfigPolicy<Solution_> configPolicy, SelectionCacheType minimumCacheType, boolean randomSelection) protected MoveSelector<Solution_>
SubChainSwapMoveSelectorFactory.buildBaseMoveSelector
(HeuristicConfigPolicy<Solution_> configPolicy, SelectionCacheType minimumCacheType, boolean randomSelection) protected MoveSelector<Solution_>
TailChainSwapMoveSelectorFactory.buildBaseMoveSelector
(HeuristicConfigPolicy<Solution_> configPolicy, SelectionCacheType minimumCacheType, boolean randomSelection) -
Uses of SelectionCacheType in org.optaplanner.core.impl.heuristic.selector.move.generic.list
Modifier and TypeMethodDescriptionprotected MoveSelector<Solution_>
ListChangeMoveSelectorFactory.buildBaseMoveSelector
(HeuristicConfigPolicy<Solution_> configPolicy, SelectionCacheType minimumCacheType, boolean randomSelection) protected MoveSelector<Solution_>
ListSwapMoveSelectorFactory.buildBaseMoveSelector
(HeuristicConfigPolicy<Solution_> configPolicy, SelectionCacheType minimumCacheType, boolean randomSelection) protected MoveSelector<Solution_>
SubListChangeMoveSelectorFactory.buildBaseMoveSelector
(HeuristicConfigPolicy<Solution_> configPolicy, SelectionCacheType minimumCacheType, boolean randomSelection) protected MoveSelector<Solution_>
SubListSwapMoveSelectorFactory.buildBaseMoveSelector
(HeuristicConfigPolicy<Solution_> configPolicy, SelectionCacheType minimumCacheType, boolean randomSelection) -
Uses of SelectionCacheType in org.optaplanner.core.impl.heuristic.selector.move.generic.list.kopt
Modifier and TypeMethodDescriptionprotected MoveSelector<Solution_>
KOptListMoveSelectorFactory.buildBaseMoveSelector
(HeuristicConfigPolicy<Solution_> configPolicy, SelectionCacheType minimumCacheType, boolean randomSelection) -
Uses of SelectionCacheType in org.optaplanner.core.impl.heuristic.selector.value
Modifier and TypeMethodDescriptionprotected ValueSelector<Solution_>
ValueSelectorFactory.applyProbability
(SelectionCacheType resolvedCacheType, SelectionOrder resolvedSelectionOrder, ValueSelector<Solution_> valueSelector, ClassInstanceCache instanceCache) protected ValueSelector<Solution_>
ValueSelectorFactory.applySorting
(SelectionCacheType resolvedCacheType, SelectionOrder resolvedSelectionOrder, ValueSelector<Solution_> valueSelector, ClassInstanceCache instanceCache) ValueSelectorFactory.buildValueSelector
(HeuristicConfigPolicy<Solution_> configPolicy, EntityDescriptor<Solution_> entityDescriptor, SelectionCacheType minimumCacheType, SelectionOrder inheritedSelectionOrder) ValueSelectorFactory.buildValueSelector
(HeuristicConfigPolicy<Solution_> configPolicy, EntityDescriptor<Solution_> entityDescriptor, SelectionCacheType minimumCacheType, SelectionOrder inheritedSelectionOrder, boolean applyReinitializeVariableFiltering, ValueSelectorFactory.ListValueFilteringType listValueFilteringType) protected boolean
ValueSelectorFactory.determineBaseRandomSelection
(GenuineVariableDescriptor<Solution_> variableDescriptor, SelectionCacheType resolvedCacheType, SelectionOrder resolvedSelectionOrder) ModifierConstructorDescriptionFromSolutionPropertyValueSelector
(EntityIndependentValueRangeDescriptor<Solution_> valueRangeDescriptor, SelectionCacheType minimumCacheType, boolean randomSelection) -
Uses of SelectionCacheType in org.optaplanner.core.impl.heuristic.selector.value.chained
Modifier and TypeFieldDescriptionprotected static final SelectionCacheType
DefaultSubChainSelector.CACHE_TYPE
Modifier and TypeMethodDescriptionSubChainSelectorFactory.buildSubChainSelector
(HeuristicConfigPolicy<Solution_> configPolicy, EntityDescriptor<Solution_> entityDescriptor, SelectionCacheType minimumCacheType, SelectionOrder inheritedSelectionOrder) -
Uses of SelectionCacheType in org.optaplanner.core.impl.heuristic.selector.value.decorator
Modifier and TypeFieldDescriptionprotected final SelectionCacheType
AbstractCachingValueSelector.cacheType
Modifier and TypeMethodDescriptionAbstractCachingValueSelector.getCacheType()
EntityDependentSortingValueSelector.getCacheType()
ProbabilityValueSelector.getCacheType()
ModifierConstructorDescriptionAbstractCachingValueSelector
(EntityIndependentValueSelector<Solution_> childValueSelector, SelectionCacheType cacheType) CachingValueSelector
(EntityIndependentValueSelector<Solution_> childValueSelector, SelectionCacheType cacheType, boolean randomSelection) EntityDependentSortingValueSelector
(ValueSelector<Solution_> childValueSelector, SelectionCacheType cacheType, SelectionSorter<Solution_, Object> sorter) ProbabilityValueSelector
(EntityIndependentValueSelector<Solution_> childValueSelector, SelectionCacheType cacheType, SelectionProbabilityWeightFactory<Solution_, Object> probabilityWeightFactory) ShufflingValueSelector
(EntityIndependentValueSelector<Solution_> childValueSelector, SelectionCacheType cacheType) SortingValueSelector
(EntityIndependentValueSelector<Solution_> childValueSelector, SelectionCacheType cacheType, SelectionSorter<Solution_, Object> sorter)