public class SwapMoveSelectorConfig extends MoveSelectorConfig<SwapMoveSelectorConfig>
cacheType, filterClassList, probabilityWeightFactoryClass, selectedCountLimit, selectionOrder, sorterClass, sorterComparatorClass, sorterOrder, sorterWeightFactoryClass| Constructor and Description |
|---|
SwapMoveSelectorConfig() |
buildMoveSelector, determineBaseRandomSelection, extractLeafMoveSelectorConfigsIntoList, getCacheType, getFilterClassList, getFixedProbabilityWeight, getProbabilityWeightFactoryClass, getSelectedCountLimit, getSelectionOrder, getSorterClass, getSorterComparatorClass, getSorterOrder, getSorterWeightFactoryClass, inheritFolded, isBaseInherentlyCached, setCacheType, setFilterClassList, setFixedProbabilityWeight, setProbabilityWeightFactoryClass, setSelectedCountLimit, setSelectionOrder, setSorterClass, setSorterComparatorClass, setSorterOrder, setSorterWeightFactoryClass, withCacheType, withFilterClassList, withFixedProbabilityWeight, withProbabilityWeightFactoryClass, withSelectedCountLimit, withSelectionOrder, withSorterClass, withSorterComparatorClass, withSorterOrder, withSorterWeightFactoryClassvalidateCacheTypeVersusSelectionOrderdeduceEntityDescriptor, deduceVariableDescriptor, deduceVariableDescriptorListpublic 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<SwapMoveSelectorConfig>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.ORIGINALprotected MoveSelectorConfig buildUnfoldedMoveSelectorConfig(HeuristicConfigPolicy configPolicy)
buildUnfoldedMoveSelectorConfig in class MoveSelectorConfig<SwapMoveSelectorConfig>configPolicy - never nullprotected MoveSelectorConfig buildUnfoldedMoveSelectorConfig(Collection<EntityDescriptor> entityDescriptors)
public SwapMoveSelectorConfig inherit(SwapMoveSelectorConfig inheritedConfig)
AbstractConfiginheritedConfig unless that property (or a semantic alternative)
is defined by this instance (which overwrites the inherited behaviour).
After the inheritance, if a property on this AbstractConfig composition is replaced,
it should not affect the inherited composition instance.
inherit in class MoveSelectorConfig<SwapMoveSelectorConfig>inheritedConfig - never nullpublic SwapMoveSelectorConfig copyConfig()
AbstractConfigAbstractConfig.inherit(AbstractConfig) on itcopyConfig in class AbstractConfig<SwapMoveSelectorConfig>public String toString()
toString in class AbstractConfig<SwapMoveSelectorConfig>Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.