Class DestinationSelectorConfig
java.lang.Object
ai.timefold.solver.core.config.AbstractConfig<Config_>
ai.timefold.solver.core.config.heuristic.selector.SelectorConfig<DestinationSelectorConfig>
ai.timefold.solver.core.config.heuristic.selector.list.DestinationSelectorConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTypically implemented by constructing a new instance and callingAbstractConfig.inherit(AbstractConfig)on it.booleanVerifies if the current configuration has any Nearby Selection settings.inherit(DestinationSelectorConfig inheritedConfig) Inherits each property of theinheritedConfigunless that property (or a semantic alternative) is defined by this instance (which overwrites the inherited behaviour).voidsetEntitySelectorConfig(EntitySelectorConfig entitySelectorConfig) 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).withEntitySelectorConfig(EntitySelectorConfig entitySelectorConfig) withNearbySelectionConfig(NearbySelectionConfig nearbySelectionConfig) withValueSelectorConfig(ValueSelectorConfig valueSelectorConfig)
-
Constructor Details
-
DestinationSelectorConfig
public DestinationSelectorConfig() -
DestinationSelectorConfig
-
-
Method Details
-
getEntitySelectorConfig
-
setEntitySelectorConfig
-
getValueSelectorConfig
-
setValueSelectorConfig
-
getNearbySelectionConfig
-
setNearbySelectionConfig
-
withEntitySelectorConfig
public DestinationSelectorConfig withEntitySelectorConfig(EntitySelectorConfig entitySelectorConfig) -
withValueSelectorConfig
-
withNearbySelectionConfig
public DestinationSelectorConfig withNearbySelectionConfig(NearbySelectionConfig nearbySelectionConfig) -
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<DestinationSelectorConfig>- 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<DestinationSelectorConfig>- 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<DestinationSelectorConfig>- Parameters:
classVisitor- The visitor of classes, never null. Can accept null instances of Class.
-
toString
- Overrides:
toStringin classAbstractConfig<DestinationSelectorConfig>
-
hasNearbySelectionConfig
public boolean hasNearbySelectionConfig()Description copied from class:SelectorConfigVerifies if the current configuration has any Nearby Selection settings.- Specified by:
hasNearbySelectionConfigin classSelectorConfig<DestinationSelectorConfig>
-