Class PillarSelectorConfig
java.lang.Object
ai.timefold.solver.core.config.AbstractConfig<Config_>
ai.timefold.solver.core.config.heuristic.selector.SelectorConfig<PillarSelectorConfig>
ai.timefold.solver.core.config.heuristic.selector.entity.pillar.PillarSelectorConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected EntitySelectorConfigprotected Integerprotected Integer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull PillarSelectorConfigTypically implemented by constructing a new instance and callingAbstractConfig.inherit(AbstractConfig)on it.@Nullable EntitySelectorConfig@Nullable Integer@Nullable IntegerbooleanVerifies if the current configuration has any Nearby Selection settings.@NonNull PillarSelectorConfiginherit(@NonNull PillarSelectorConfig inheritedConfig) Inherits each property of theinheritedConfigunless that property (or a semantic alternative) is defined by this instance (which overwrites the inherited behaviour).voidsetEntitySelectorConfig(@Nullable EntitySelectorConfig entitySelectorConfig) voidsetMaximumSubPillarSize(@Nullable Integer maximumSubPillarSize) voidsetMinimumSubPillarSize(@Nullable Integer minimumSubPillarSize) toString()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 PillarSelectorConfigwithEntitySelectorConfig(@NonNull EntitySelectorConfig entitySelectorConfig) @NonNull PillarSelectorConfigwithMaximumSubPillarSize(@NonNull Integer maximumSubPillarSize) @NonNull PillarSelectorConfigwithMinimumSubPillarSize(@NonNull Integer minimumSubPillarSize)
-
Field Details
-
entitySelectorConfig
-
minimumSubPillarSize
-
maximumSubPillarSize
-
-
Constructor Details
-
PillarSelectorConfig
public PillarSelectorConfig()
-
-
Method Details
-
getEntitySelectorConfig
-
setEntitySelectorConfig
-
getMinimumSubPillarSize
-
setMinimumSubPillarSize
-
getMaximumSubPillarSize
-
setMaximumSubPillarSize
-
withEntitySelectorConfig
public @NonNull PillarSelectorConfig withEntitySelectorConfig(@NonNull EntitySelectorConfig entitySelectorConfig) -
withMinimumSubPillarSize
public @NonNull PillarSelectorConfig withMinimumSubPillarSize(@NonNull Integer minimumSubPillarSize) -
withMaximumSubPillarSize
public @NonNull PillarSelectorConfig withMaximumSubPillarSize(@NonNull Integer maximumSubPillarSize) -
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<PillarSelectorConfig>- Returns:
- this
-
copyConfig
Description copied from class:AbstractConfigTypically implemented by constructing a new instance and callingAbstractConfig.inherit(AbstractConfig)on it.- Specified by:
copyConfigin classAbstractConfig<PillarSelectorConfig>- 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<PillarSelectorConfig>- Parameters:
classVisitor- The visitor of classes. Can accept null instances of Class.
-
toString
- Overrides:
toStringin classAbstractConfig<PillarSelectorConfig>
-
hasNearbySelectionConfig
public boolean hasNearbySelectionConfig()Description copied from class:SelectorConfigVerifies if the current configuration has any Nearby Selection settings.- Specified by:
hasNearbySelectionConfigin classSelectorConfig<PillarSelectorConfig>
-