public class CartesianProductMoveSelectorConfig extends MoveSelectorConfig<CartesianProductMoveSelectorConfig>
cacheType, filterClassList, probabilityWeightFactoryClass, selectedCountLimit, selectionOrder, sorterClass, sorterComparatorClass, sorterOrder, sorterWeightFactoryClass
Constructor and Description |
---|
CartesianProductMoveSelectorConfig() |
CartesianProductMoveSelectorConfig(List<MoveSelectorConfig> moveSelectorConfigList) |
Modifier and Type | Method and Description |
---|---|
MoveSelector |
buildBaseMoveSelector(HeuristicConfigPolicy configPolicy,
SelectionCacheType minimumCacheType,
boolean randomSelection) |
void |
extractLeafMoveSelectorConfigsIntoList(List<MoveSelectorConfig> leafMoveSelectorConfigList)
Gather a list of all descendant
MoveSelectorConfig s
except for UnionMoveSelectorConfig and CartesianProductMoveSelectorConfig . |
Boolean |
getIgnoreEmptyChildIterators() |
List<MoveSelectorConfig> |
getMoveSelectorConfigList() |
void |
inherit(CartesianProductMoveSelectorConfig 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 |
setIgnoreEmptyChildIterators(Boolean ignoreEmptyChildIterators) |
void |
setMoveSelectorConfigList(List<MoveSelectorConfig> moveSelectorConfigList) |
String |
toString() |
buildMoveSelector, buildUnfoldedMoveSelectorConfig, determineBaseRandomSelection, 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
public CartesianProductMoveSelectorConfig()
public CartesianProductMoveSelectorConfig(List<MoveSelectorConfig> moveSelectorConfigList)
public List<MoveSelectorConfig> getMoveSelectorConfigList()
public void setMoveSelectorConfigList(List<MoveSelectorConfig> moveSelectorConfigList)
public Boolean getIgnoreEmptyChildIterators()
public void setIgnoreEmptyChildIterators(Boolean ignoreEmptyChildIterators)
public MoveSelector buildBaseMoveSelector(HeuristicConfigPolicy configPolicy, SelectionCacheType minimumCacheType, boolean randomSelection)
buildBaseMoveSelector
in class MoveSelectorConfig<CartesianProductMoveSelectorConfig>
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 extractLeafMoveSelectorConfigsIntoList(List<MoveSelectorConfig> leafMoveSelectorConfigList)
MoveSelectorConfig
MoveSelectorConfig
s
except for UnionMoveSelectorConfig
and CartesianProductMoveSelectorConfig
.extractLeafMoveSelectorConfigsIntoList
in class MoveSelectorConfig<CartesianProductMoveSelectorConfig>
leafMoveSelectorConfigList
- not nullpublic void inherit(CartesianProductMoveSelectorConfig 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.
inherit
in class MoveSelectorConfig<CartesianProductMoveSelectorConfig>
inheritedConfig
- never nullpublic String toString()
toString
in class AbstractConfig<CartesianProductMoveSelectorConfig>
Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.