public class MoveIteratorFactoryConfig extends MoveSelectorConfig
Modifier and Type | Field and Description |
---|---|
protected Class<? extends MoveIteratorFactory> |
moveIteratorFactoryClass |
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) |
Class<? extends MoveIteratorFactory> |
getMoveIteratorFactoryClass() |
void |
inherit(MoveIteratorFactoryConfig inheritedConfig) |
void |
setMoveIteratorFactoryClass(Class<? extends MoveIteratorFactory> moveIteratorFactoryClass) |
String |
toString() |
buildMoveSelector, buildUnfoldedMoveSelectorConfig, 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
protected Class<? extends MoveIteratorFactory> moveIteratorFactoryClass
public Class<? extends MoveIteratorFactory> getMoveIteratorFactoryClass()
public void setMoveIteratorFactoryClass(Class<? extends MoveIteratorFactory> moveIteratorFactoryClass)
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
public void inherit(MoveIteratorFactoryConfig inheritedConfig)
public String toString()
toString
in class SelectorConfig
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.