public class PillarSwapMoveSelectorConfig extends MoveSelectorConfig<T>
Modifier and Type | Field and Description |
---|---|
protected PillarSelectorConfig |
pillarSelectorConfig |
protected Class<? extends Comparator> |
subPillarSequenceComparatorClass |
protected SubPillarType |
subPillarType |
cacheType, filterClassList, probabilityWeightFactoryClass, selectedCountLimit, selectionOrder, sorterClass, sorterComparatorClass, sorterOrder, sorterWeightFactoryClass
Constructor and Description |
---|
PillarSwapMoveSelectorConfig() |
buildMoveSelector, buildUnfoldedMoveSelectorConfig, 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, withSorterWeightFactoryClass
validateCacheTypeVersusSelectionOrder
copyConfig, deduceEntityDescriptor, deduceVariableDescriptor, deduceVariableDescriptorList, newInstance
protected SubPillarType subPillarType
protected Class<? extends Comparator> subPillarSequenceComparatorClass
protected 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<PillarSwapMoveSelectorConfig>
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)
AbstractConfig
inheritedConfig
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.
inheritedConfig
- never nullpublic String toString()
toString
in class AbstractConfig<PillarSwapMoveSelectorConfig>
public SubPillarType getSubPillarType()
public void setSubPillarType(SubPillarType subPillarType)
public Class<? extends Comparator> getSubPillarSequenceComparatorClass()
public void setSubPillarSequenceComparatorClass(Class<? extends Comparator> subPillarSequenceComparatorClass)
public PillarSelectorConfig getPillarSelectorConfig()
public void setPillarSelectorConfig(PillarSelectorConfig pillarSelectorConfig)
Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.