Class AbstractPillarMoveSelectorConfig<Config_ extends AbstractPillarMoveSelectorConfig<Config_>>
java.lang.Object
org.optaplanner.core.config.AbstractConfig<Config_>
org.optaplanner.core.config.heuristic.selector.SelectorConfig<Config_>
org.optaplanner.core.config.heuristic.selector.move.MoveSelectorConfig<Config_>
org.optaplanner.core.config.heuristic.selector.move.generic.AbstractPillarMoveSelectorConfig<Config_>
- Direct Known Subclasses:
PillarChangeMoveSelectorConfig
,PillarSwapMoveSelectorConfig
public abstract class AbstractPillarMoveSelectorConfig<Config_ extends AbstractPillarMoveSelectorConfig<Config_>>
extends MoveSelectorConfig<Config_>
-
Field Summary
Modifier and TypeFieldDescriptionprotected PillarSelectorConfig
protected Class<? extends Comparator>
protected SubPillarType
Fields inherited from class org.optaplanner.core.config.heuristic.selector.move.MoveSelectorConfig
cacheType, filterClass, probabilityWeightFactoryClass, selectedCountLimit, selectionOrder, sorterClass, sorterComparatorClass, sorterOrder, sorterWeightFactoryClass
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Comparator>
Inherits each property of theinheritedConfig
unless that property (or a semantic alternative) is defined by this instance (which overwrites the inherited behaviour).void
setPillarSelectorConfig
(PillarSelectorConfig pillarSelectorConfig) void
setSubPillarSequenceComparatorClass
(Class<? extends Comparator> subPillarSequenceComparatorClass) void
setSubPillarType
(SubPillarType subPillarType) protected void
visitCommonReferencedClasses
(Consumer<Class<?>> classVisitor) withPillarSelectorConfig
(PillarSelectorConfig pillarSelectorConfig) withSubPillarSequenceComparatorClass
(Class<? extends Comparator> subPillarSequenceComparatorClass) withSubPillarType
(SubPillarType subPillarType) Methods inherited from class org.optaplanner.core.config.heuristic.selector.move.MoveSelectorConfig
extractLeafMoveSelectorConfigsIntoList, getCacheType, getFilterClass, getFixedProbabilityWeight, getProbabilityWeightFactoryClass, getSelectedCountLimit, getSelectionOrder, getSorterClass, getSorterComparatorClass, getSorterOrder, getSorterWeightFactoryClass, inheritFolded, setCacheType, setFilterClass, setFixedProbabilityWeight, setProbabilityWeightFactoryClass, setSelectedCountLimit, setSelectionOrder, setSorterClass, setSorterComparatorClass, setSorterOrder, setSorterWeightFactoryClass, withCacheType, withFilterClass, withFixedProbabilityWeight, withProbabilityWeightFactoryClass, withSelectedCountLimit, withSelectionOrder, withSorterClass, withSorterComparatorClass, withSorterOrder, withSorterWeightFactoryClass
Methods inherited from class org.optaplanner.core.config.AbstractConfig
copyConfig, toString, visitReferencedClasses
-
Field Details
-
subPillarType
-
subPillarSequenceComparatorClass
-
pillarSelectorConfig
-
-
Constructor Details
-
AbstractPillarMoveSelectorConfig
public AbstractPillarMoveSelectorConfig()
-
-
Method Details
-
getSubPillarType
-
setSubPillarType
-
getSubPillarSequenceComparatorClass
-
setSubPillarSequenceComparatorClass
public void setSubPillarSequenceComparatorClass(Class<? extends Comparator> subPillarSequenceComparatorClass) -
getPillarSelectorConfig
-
setPillarSelectorConfig
-
withSubPillarType
-
withSubPillarSequenceComparatorClass
public Config_ withSubPillarSequenceComparatorClass(Class<? extends Comparator> subPillarSequenceComparatorClass) -
withPillarSelectorConfig
-
inherit
Description copied from class:AbstractConfig
Inherits each property of theinheritedConfig
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.- Overrides:
inherit
in classMoveSelectorConfig<Config_ extends AbstractPillarMoveSelectorConfig<Config_>>
- Parameters:
inheritedConfig
- never null- Returns:
- this
-
visitCommonReferencedClasses
- Overrides:
visitCommonReferencedClasses
in classMoveSelectorConfig<Config_ extends AbstractPillarMoveSelectorConfig<Config_>>
-