Class MultistageMoveSelectorConfig
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<MultistageMoveSelectorConfig>
ai.timefold.solver.core.config.heuristic.selector.move.generic.MultistageMoveSelectorConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Class<?>protected Class<?>protected Stringstatic final StringFields 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 MultistageMoveSelectorConfigTypically implemented by constructing a new instance and callingAbstractConfig.inherit(AbstractConfig)on it.Class<?>Class<?>booleanVerifies if the current configuration has any Nearby Selection settings.@NonNull MultistageMoveSelectorConfiginherit(@NonNull MultistageMoveSelectorConfig inheritedConfig) Inherits each property of theinheritedConfigunless that property (or a semantic alternative) is defined by this instance (which overwrites the inherited behaviour).voidsetEntityClass(Class<?> entityClass) voidsetStageProviderClass(Class<?> stageProviderClass) voidsetVariableName(String variableName) 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 MultistageMoveSelectorConfigwithEntityClass(@NonNull Class<?> entityClass) @NonNull MultistageMoveSelectorConfigwithStageProviderClass(@NonNull Class<?> stageProviderClass) @NonNull MultistageMoveSelectorConfigwithVariableName(@NonNull String variableName) 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
-
entityClass
-
variableName
-
-
Constructor Details
-
MultistageMoveSelectorConfig
public MultistageMoveSelectorConfig()
-
-
Method Details
-
getStageProviderClass
-
setStageProviderClass
-
getEntityClass
-
setEntityClass
-
getVariableName
-
setVariableName
-
withStageProviderClass
public @NonNull MultistageMoveSelectorConfig withStageProviderClass(@NonNull Class<?> stageProviderClass) -
withEntityClass
-
withVariableName
-
hasNearbySelectionConfig
public boolean hasNearbySelectionConfig()Description copied from class:SelectorConfigVerifies if the current configuration has any Nearby Selection settings.- Specified by:
hasNearbySelectionConfigin classSelectorConfig<MultistageMoveSelectorConfig>
-
copyConfig
Description copied from class:AbstractConfigTypically implemented by constructing a new instance and callingAbstractConfig.inherit(AbstractConfig)on it.- Specified by:
copyConfigin classAbstractConfig<MultistageMoveSelectorConfig>- 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<MultistageMoveSelectorConfig>- Parameters:
classVisitor- The visitor of classes. Can accept null instances of Class.
-
inherit
public @NonNull MultistageMoveSelectorConfig inherit(@NonNull MultistageMoveSelectorConfig 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<MultistageMoveSelectorConfig>- Returns:
- this
-