Class SubListSelectorConfig
java.lang.Object
ai.timefold.solver.core.config.AbstractConfig<Config_>
ai.timefold.solver.core.config.heuristic.selector.SelectorConfig<SubListSelectorConfig>
ai.timefold.solver.core.config.heuristic.selector.list.SubListSelectorConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTypically implemented by constructing a new instance and callingAbstractConfig.inherit(AbstractConfig)on it.getId()booleanVerifies if the current configuration has any Nearby Selection settings.inherit(SubListSelectorConfig inheritedConfig) Inherits each property of theinheritedConfigunless that property (or a semantic alternative) is defined by this instance (which overwrites the inherited behaviour).voidvoidsetMaximumSubListSize(Integer maximumSubListSize) voidsetMimicSelectorRef(String mimicSelectorRef) voidsetMinimumSubListSize(Integer minimumSubListSize) voidsetNearbySelectionConfig(NearbySelectionConfig nearbySelectionConfig) voidsetValueSelectorConfig(ValueSelectorConfig valueSelectorConfig) toString()voidvisitReferencedClasses(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).withMaximumSubListSize(Integer maximumSubListSize) withMimicSelectorRef(String mimicSelectorRef) withMinimumSubListSize(Integer minimumSubListSize) withNearbySelectionConfig(NearbySelectionConfig nearbySelectionConfig) withValueSelectorConfig(ValueSelectorConfig valueSelectorConfig)
-
Constructor Details
-
SubListSelectorConfig
public SubListSelectorConfig() -
SubListSelectorConfig
-
-
Method Details
-
getId
-
setId
-
getMimicSelectorRef
-
setMimicSelectorRef
-
getValueSelectorConfig
-
setValueSelectorConfig
-
getNearbySelectionConfig
-
setNearbySelectionConfig
-
getMinimumSubListSize
-
setMinimumSubListSize
-
getMaximumSubListSize
-
setMaximumSubListSize
-
withId
-
withMimicSelectorRef
-
withValueSelectorConfig
-
withNearbySelectionConfig
-
withMinimumSubListSize
-
withMaximumSubListSize
-
inherit
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.- Specified by:
inheritin classAbstractConfig<SubListSelectorConfig>- Parameters:
inheritedConfig- never null- Returns:
- this
-
copyConfig
Description copied from class:AbstractConfigTypically implemented by constructing a new instance and callingAbstractConfig.inherit(AbstractConfig)on it.- Specified by:
copyConfigin classAbstractConfig<SubListSelectorConfig>- 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<SubListSelectorConfig>- Parameters:
classVisitor- The visitor of classes, never null. Can accept null instances of Class.
-
hasNearbySelectionConfig
public boolean hasNearbySelectionConfig()Description copied from class:SelectorConfigVerifies if the current configuration has any Nearby Selection settings.- Specified by:
hasNearbySelectionConfigin classSelectorConfig<SubListSelectorConfig>
-
toString
- Overrides:
toStringin classAbstractConfig<SubListSelectorConfig>
-