public class MoveIteratorFactoryConfig extends MoveSelectorConfig<MoveIteratorFactoryConfig>
| Modifier and Type | Field and Description |
|---|---|
protected Class<? extends MoveIteratorFactory> |
moveIteratorFactoryClass |
protected Map<String,String> |
moveIteratorFactoryCustomProperties |
cacheType, filterClassList, probabilityWeightFactoryClass, selectedCountLimit, selectionOrder, sorterClass, sorterComparatorClass, sorterOrder, sorterWeightFactoryClass| Constructor and Description |
|---|
MoveIteratorFactoryConfig() |
| Modifier and Type | Method and Description |
|---|---|
MoveSelector |
buildBaseMoveSelector(HeuristicConfigPolicy configPolicy,
SelectionCacheType minimumCacheType,
boolean randomSelection) |
MoveIteratorFactoryConfig |
copyConfig()
Typically implemented by constructing a new instance and calling
AbstractConfig.inherit(AbstractConfig) on it |
Class<? extends MoveIteratorFactory> |
getMoveIteratorFactoryClass() |
Map<String,String> |
getMoveIteratorFactoryCustomProperties() |
MoveIteratorFactoryConfig |
inherit(MoveIteratorFactoryConfig inheritedConfig)
Inherits each property of the
inheritedConfig unless that property (or a semantic alternative)
is defined by this instance (which overwrites the inherited behaviour). |
void |
setMoveIteratorFactoryClass(Class<? extends MoveIteratorFactory> moveIteratorFactoryClass) |
void |
setMoveIteratorFactoryCustomProperties(Map<String,String> moveIteratorFactoryCustomProperties) |
String |
toString() |
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, withSorterWeightFactoryClassvalidateCacheTypeVersusSelectionOrderdeduceEntityDescriptor, deduceVariableDescriptor, deduceVariableDescriptorListprotected Class<? extends MoveIteratorFactory> moveIteratorFactoryClass
@XStreamConverter(value=KeyAsElementMapConverter.class) protected Map<String,String> moveIteratorFactoryCustomProperties
public Class<? extends MoveIteratorFactory> getMoveIteratorFactoryClass()
public void setMoveIteratorFactoryClass(Class<? extends MoveIteratorFactory> moveIteratorFactoryClass)
public Map<String,String> getMoveIteratorFactoryCustomProperties()
public void setMoveIteratorFactoryCustomProperties(Map<String,String> moveIteratorFactoryCustomProperties)
public MoveSelector buildBaseMoveSelector(HeuristicConfigPolicy configPolicy, SelectionCacheType minimumCacheType, boolean randomSelection)
buildBaseMoveSelector in class MoveSelectorConfig<MoveIteratorFactoryConfig>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.ORIGINALpublic MoveIteratorFactoryConfig inherit(MoveIteratorFactoryConfig 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<MoveIteratorFactoryConfig>inheritedConfig - never nullpublic MoveIteratorFactoryConfig copyConfig()
AbstractConfigAbstractConfig.inherit(AbstractConfig) on itcopyConfig in class AbstractConfig<MoveIteratorFactoryConfig>public String toString()
toString in class AbstractConfig<MoveIteratorFactoryConfig>Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.