public class SwapMoveSelectorConfig extends MoveSelectorConfig
cacheType, filterClassList, probabilityWeightFactoryClass, selectedCountLimit, selectionOrder, sorterClass, sorterComparatorClass, sorterOrder, sorterWeightFactoryClass
Constructor and Description |
---|
SwapMoveSelectorConfig() |
Modifier and Type | Method and Description |
---|---|
MoveSelector |
buildBaseMoveSelector(HeuristicConfigPolicy configPolicy,
SelectionCacheType minimumCacheType,
boolean randomSelection) |
EntitySelectorConfig |
getEntitySelectorConfig() |
EntitySelectorConfig |
getSecondaryEntitySelectorConfig() |
List<String> |
getVariableNameIncludeList() |
void |
inherit(SwapMoveSelectorConfig inheritedConfig) |
void |
setEntitySelectorConfig(EntitySelectorConfig entitySelectorConfig) |
void |
setSecondaryEntitySelectorConfig(EntitySelectorConfig secondaryEntitySelectorConfig) |
void |
setVariableNameIncludeList(List<String> variableNameIncludeList) |
String |
toString() |
buildMoveSelector, determineBaseRandomSelection, getCacheType, getFilterClassList, getFixedProbabilityWeight, getProbabilityWeightFactoryClass, getSelectedCountLimit, getSelectionOrder, getSorterClass, getSorterComparatorClass, getSorterOrder, getSorterWeightFactoryClass, inherit, isBaseInherentlyCached, setCacheType, setFilterClassList, setFixedProbabilityWeight, setProbabilityWeightFactoryClass, setSelectedCountLimit, setSelectionOrder, setSorterClass, setSorterComparatorClass, setSorterOrder, setSorterWeightFactoryClass
deduceEntityDescriptor, deduceVariableDescriptor, deduceVariableDescriptors, inherit, validateCacheTypeVersusSelectionOrder
public EntitySelectorConfig getEntitySelectorConfig()
public void setEntitySelectorConfig(EntitySelectorConfig entitySelectorConfig)
public EntitySelectorConfig getSecondaryEntitySelectorConfig()
public void setSecondaryEntitySelectorConfig(EntitySelectorConfig secondaryEntitySelectorConfig)
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(SwapMoveSelectorConfig inheritedConfig)
public String toString()
toString
in class SelectorConfig
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.