Class ListMultistageMoveSelectorConfig
java.lang.Object
ai.timefold.solver.core.config.AbstractConfig<Config_>
ai.timefold.solver.core.config.heuristic.selector.SelectorConfig<Config_>
ai.timefold.solver.core.config.heuristic.selector.move.MoveSelectorConfig<ListMultistageMoveSelectorConfig>
ai.timefold.solver.core.config.heuristic.selector.move.generic.list.ListMultistageMoveSelectorConfig
public class ListMultistageMoveSelectorConfig
extends MoveSelectorConfig<ListMultistageMoveSelectorConfig>
-
Field Summary
FieldsFields inherited from class ai.timefold.solver.core.config.heuristic.selector.move.MoveSelectorConfig
cacheType, comparatorClass, comparatorFactoryClass, filterClass, probabilityWeightFactoryClass, selectedCountLimit, selectionOrder, sorterClass, sorterComparatorClass, sorterOrder, sorterWeightFactoryClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull ListMultistageMoveSelectorConfigTypically implemented by constructing a new instance and callingAbstractConfig.inherit(AbstractConfig)on it.Class<?>booleanVerifies if the current configuration has any Nearby Selection settings.@NonNull ListMultistageMoveSelectorConfiginherit(@NonNull ListMultistageMoveSelectorConfig inheritedConfig) Inherits each property of theinheritedConfigunless that property (or a semantic alternative) is defined by this instance (which overwrites the inherited behaviour).voidsetStageProviderClass(Class<?> stageProviderClass) voidvisitReferencedClasses(@NonNull Consumer<Class<?>> classVisitor) Call the class visitor on each (possibly null) Class instance provided to this config by the user (including those provided in child configs).@NonNull ListMultistageMoveSelectorConfigwithStageProviderClass(@NonNull Class<?> stageProviderClass) Methods inherited from class ai.timefold.solver.core.config.heuristic.selector.move.MoveSelectorConfig
extractLeafMoveSelectorConfigsIntoList, getCacheType, getComparatorClass, getComparatorFactoryClass, getFilterClass, getFixedProbabilityWeight, getProbabilityWeightFactoryClass, getSelectedCountLimit, getSelectionOrder, getSorterClass, getSorterComparatorClass, getSorterOrder, getSorterWeightFactoryClass, inheritFolded, setCacheType, setComparatorClass, setComparatorFactoryClass, setFilterClass, setFixedProbabilityWeight, setProbabilityWeightFactoryClass, setSelectedCountLimit, setSelectionOrder, setSorterClass, setSorterComparatorClass, setSorterOrder, setSorterWeightFactoryClass, visitCommonReferencedClasses, withCacheType, withComparatorClass, withComparatorFactoryClass, withFilterClass, withFixedProbabilityWeight, withProbabilityWeightFactoryClass, withSelectedCountLimit, withSelectionOrder, withSorterClass, withSorterComparatorClass, withSorterOrder, withSorterWeightFactoryClassMethods inherited from class ai.timefold.solver.core.config.AbstractConfig
toString
-
Field Details
-
XML_ELEMENT_NAME
- See Also:
-
stageProviderClass
-
-
Constructor Details
-
ListMultistageMoveSelectorConfig
public ListMultistageMoveSelectorConfig()
-
-
Method Details
-
getStageProviderClass
-
setStageProviderClass
-
withStageProviderClass
public @NonNull ListMultistageMoveSelectorConfig withStageProviderClass(@NonNull Class<?> stageProviderClass) -
hasNearbySelectionConfig
public boolean hasNearbySelectionConfig()Description copied from class:SelectorConfigVerifies if the current configuration has any Nearby Selection settings.- Specified by:
hasNearbySelectionConfigin classSelectorConfig<ListMultistageMoveSelectorConfig>
-
copyConfig
Description copied from class:AbstractConfigTypically implemented by constructing a new instance and callingAbstractConfig.inherit(AbstractConfig)on it.- Specified by:
copyConfigin classAbstractConfig<ListMultistageMoveSelectorConfig>- Returns:
- new instance
-
visitReferencedClasses
Description copied from class:AbstractConfigCall the class visitor on each (possibly null) Class instance provided to this config by the user (including those provided in child configs). Required to create the bean factory in Quarkus.- Specified by:
visitReferencedClassesin classAbstractConfig<ListMultistageMoveSelectorConfig>- Parameters:
classVisitor- The visitor of classes. Can accept null instances of Class.
-
inherit
public @NonNull ListMultistageMoveSelectorConfig inherit(@NonNull ListMultistageMoveSelectorConfig inheritedConfig) Description copied from class:AbstractConfigInherits each property of theinheritedConfigunless that property (or a semantic alternative) is defined by this instance (which overwrites the inherited behaviour).After the inheritance, if a property on this
AbstractConfigcomposition is replaced, it should not affect the inherited composition instance.- Overrides:
inheritin classMoveSelectorConfig<ListMultistageMoveSelectorConfig>- Returns:
- this
-