public class MoveListFactoryConfig extends MoveSelectorConfig
| Modifier and Type | Field and Description |
|---|---|
protected Class<? extends MoveListFactory> |
moveListFactoryClass |
cacheType, filterClassList, probabilityWeightFactoryClass, selectedCountLimit, selectionOrder, sorterClass, sorterComparatorClass, sorterOrder, sorterWeightFactoryClass| Constructor and Description |
|---|
MoveListFactoryConfig() |
| Modifier and Type | Method and Description |
|---|---|
MoveSelector |
buildBaseMoveSelector(HeuristicConfigPolicy configPolicy,
SelectionCacheType minimumCacheType,
boolean randomSelection) |
Class<? extends MoveListFactory> |
getMoveListFactoryClass() |
void |
inherit(MoveListFactoryConfig inheritedConfig) |
protected boolean |
isBaseInherentlyCached() |
void |
setMoveListFactoryClass(Class<? extends MoveListFactory> moveListFactoryClass) |
String |
toString() |
buildMoveSelector, buildUnfoldedMoveSelectorConfig, determineBaseRandomSelection, getCacheType, getFilterClassList, getFixedProbabilityWeight, getProbabilityWeightFactoryClass, getSelectedCountLimit, getSelectionOrder, getSorterClass, getSorterComparatorClass, getSorterOrder, getSorterWeightFactoryClass, inherit, inheritFolded, setCacheType, setFilterClassList, setFixedProbabilityWeight, setProbabilityWeightFactoryClass, setSelectedCountLimit, setSelectionOrder, setSorterClass, setSorterComparatorClass, setSorterOrder, setSorterWeightFactoryClassdeduceEntityDescriptor, deduceVariableDescriptor, deduceVariableDescriptors, inherit, validateCacheTypeVersusSelectionOrderprotected Class<? extends MoveListFactory> moveListFactoryClass
public Class<? extends MoveListFactory> getMoveListFactoryClass()
public void setMoveListFactoryClass(Class<? extends MoveListFactory> moveListFactoryClass)
protected boolean isBaseInherentlyCached()
isBaseInherentlyCached in class MoveSelectorConfigpublic MoveSelector buildBaseMoveSelector(HeuristicConfigPolicy configPolicy, SelectionCacheType minimumCacheType, boolean randomSelection)
buildBaseMoveSelector in class MoveSelectorConfigconfigPolicy - 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 void inherit(MoveListFactoryConfig inheritedConfig)
public String toString()
toString in class SelectorConfigCopyright © 2006–2015 JBoss by Red Hat. All rights reserved.