org.optaplanner.core.config.heuristic.selector.move.generic
public class PillarSwapMoveSelectorConfig extends MoveSelectorConfig
cacheType, filterClassList, probabilityWeightFactoryClass, selectionOrder, sorterClass, sorterComparatorClass, sorterOrder, sorterWeightFactoryClass
Constructor and Description |
---|
PillarSwapMoveSelectorConfig() |
Modifier and Type | Method and Description |
---|---|
MoveSelector |
buildBaseMoveSelector(HeuristicConfigPolicy configPolicy,
SelectionCacheType minimumCacheType,
boolean randomSelection) |
PillarSelectorConfig |
getPillarSelectorConfig() |
PillarSelectorConfig |
getSecondaryPillarSelectorConfig() |
List<String> |
getVariableNameIncludeList() |
void |
inherit(PillarSwapMoveSelectorConfig inheritedConfig) |
void |
setPillarSelectorConfig(PillarSelectorConfig pillarSelectorConfig) |
void |
setSecondaryPillarSelectorConfig(PillarSelectorConfig secondaryPillarSelectorConfig) |
void |
setVariableNameIncludeList(List<String> variableNameIncludeList) |
String |
toString() |
buildMoveSelector, determineBaseRandomSelection, getCacheType, getFilterClassList, getFixedProbabilityWeight, getProbabilityWeightFactoryClass, getSelectionOrder, getSorterClass, getSorterComparatorClass, getSorterOrder, getSorterWeightFactoryClass, inherit, isBaseInherentlyCached, setCacheType, setFilterClassList, setFixedProbabilityWeight, setProbabilityWeightFactoryClass, setSelectionOrder, setSorterClass, setSorterComparatorClass, setSorterOrder, setSorterWeightFactoryClass
deduceEntityDescriptor, deduceVariableDescriptor, deduceVariableDescriptors, inherit, validateCacheTypeVersusSelectionOrder
public PillarSelectorConfig getPillarSelectorConfig()
public void setPillarSelectorConfig(PillarSelectorConfig pillarSelectorConfig)
public PillarSelectorConfig getSecondaryPillarSelectorConfig()
public void setSecondaryPillarSelectorConfig(PillarSelectorConfig secondaryPillarSelectorConfig)
public void setVariableNameIncludeList(List<String> variableNameIncludeList)
public MoveSelector buildBaseMoveSelector(HeuristicConfigPolicy configPolicy, SelectionCacheType minimumCacheType, boolean randomSelection)
buildBaseMoveSelector
in class MoveSelectorConfig
configPolicy
- never nullminimumCacheType
- never null, If caching is used (different from SelectionCacheType.JUST_IN_TIME
),
then it should be at least this SelectionCacheType
because an ancestor already uses such caching
and less would be pointless.randomSelection
- true is equivalent to SelectionOrder.RANDOM
,
false is equivalent to SelectionOrder.ORIGINAL
public void inherit(PillarSwapMoveSelectorConfig inheritedConfig)
public String toString()
toString
in class SelectorConfig
Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.