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) |
protected MoveSelectorConfig |
buildUnfoldedMoveSelectorConfig(Collection<EntityDescriptor> entityDescriptors) |
protected MoveSelectorConfig |
buildUnfoldedMoveSelectorConfig(HeuristicConfigPolicy configPolicy) |
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, inheritFolded, isBaseInherentlyCached, setCacheType, setFilterClassList, setFixedProbabilityWeight, setProbabilityWeightFactoryClass, setSelectedCountLimit, setSelectionOrder, setSorterClass, setSorterComparatorClass, setSorterOrder, setSorterWeightFactoryClass
deduceEntityDescriptor, deduceVariableDescriptor, deduceVariableDescriptorList, 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
protected MoveSelectorConfig buildUnfoldedMoveSelectorConfig(HeuristicConfigPolicy configPolicy)
buildUnfoldedMoveSelectorConfig
in class MoveSelectorConfig
configPolicy
- never nullprotected MoveSelectorConfig buildUnfoldedMoveSelectorConfig(Collection<EntityDescriptor> entityDescriptors)
public void inherit(SwapMoveSelectorConfig inheritedConfig)
public String toString()
toString
in class SelectorConfig
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.