Class LocalSearchAcceptorConfig
java.lang.Object
ai.timefold.solver.core.config.AbstractConfig<LocalSearchAcceptorConfig>
ai.timefold.solver.core.config.localsearch.decider.acceptor.LocalSearchAcceptorConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Doubleprotected Integerprotected Doubleprotected Integerprotected Integerprotected IntegerDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, no longer has any effect.protected Doubleprotected Integerprotected Doubleprotected Stringprotected Integerprotected Integerprotected Stringprotected Integerprotected StepCountingHillClimbingTypeprotected IntegerDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, no longer has any effect.protected Doubleprotected Integer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull LocalSearchAcceptorConfigTypically implemented by constructing a new instance and callingAbstractConfig.inherit(AbstractConfig)on it.@Nullable List<AcceptorType>@Nullable Double@Nullable Integer@Nullable Double@Nullable Integer@Nullable IntegerDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, no longer has any effect.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated on account of never having worked in the first place.@Nullable Integer@Nullable Double@Nullable String@Nullable Integer@Nullable Integer@Nullable String@Nullable Integer@Nullable StepCountingHillClimbingTypeDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, no longer has any effect.Deprecated, for removal: This API element is subject to removal in a future version.Deprecated on account of never having worked in the first place.@Nullable Integer@NonNull LocalSearchAcceptorConfiginherit(@NonNull LocalSearchAcceptorConfig inheritedConfig) Inherits each property of theinheritedConfigunless that property (or a semantic alternative) is defined by this instance (which overwrites the inherited behaviour).voidsetAcceptorTypeList(@Nullable List<AcceptorType> acceptorTypeList) voidsetEntityTabuRatio(@Nullable Double entityTabuRatio) voidsetEntityTabuSize(@Nullable Integer entityTabuSize) voidsetFadingEntityTabuRatio(@Nullable Double fadingEntityTabuRatio) voidsetFadingEntityTabuSize(@Nullable Integer fadingEntityTabuSize) voidsetFadingMoveTabuSize(@Nullable Integer fadingMoveTabuSize) voidsetFadingUndoMoveTabuSize(Integer fadingUndoMoveTabuSize) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, no longer has any effect.voidsetFadingValueTabuRatio(Double fadingValueTabuRatio) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated on account of never having worked in the first place.voidsetFadingValueTabuSize(@Nullable Integer fadingValueTabuSize) voidsetGreatDelugeWaterLevelIncrementRatio(@Nullable Double greatDelugeWaterLevelIncrementRatio) voidsetGreatDelugeWaterLevelIncrementScore(@Nullable String greatDelugeWaterLevelIncrementScore) voidsetLateAcceptanceSize(@Nullable Integer lateAcceptanceSize) voidsetMoveTabuSize(@Nullable Integer moveTabuSize) voidsetSimulatedAnnealingStartingTemperature(@Nullable String simulatedAnnealingStartingTemperature) voidsetStepCountingHillClimbingSize(@Nullable Integer stepCountingHillClimbingSize) voidsetStepCountingHillClimbingType(@Nullable StepCountingHillClimbingType stepCountingHillClimbingType) voidsetUndoMoveTabuSize(Integer undoMoveTabuSize) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, no longer has any effect.voidsetValueTabuRatio(Double valueTabuRatio) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated on account of never having worked in the first place.voidsetValueTabuSize(@Nullable Integer valueTabuSize) 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 LocalSearchAcceptorConfigwithAcceptorTypeList(@NonNull List<AcceptorType> acceptorTypeList) @NonNull LocalSearchAcceptorConfigwithEntityTabuRatio(@NonNull Double entityTabuRatio) @NonNull LocalSearchAcceptorConfigwithEntityTabuSize(@NonNull Integer entityTabuSize) @NonNull LocalSearchAcceptorConfigwithFadingEntityTabuRatio(@NonNull Double fadingEntityTabuRatio) @NonNull LocalSearchAcceptorConfigwithFadingEntityTabuSize(@NonNull Integer fadingEntityTabuSize) @NonNull LocalSearchAcceptorConfigwithFadingMoveTabuSize(@NonNull Integer fadingMoveTabuSize) withFadingUndoMoveTabuSize(Integer fadingUndoMoveTabuSize) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, no longer has any effect.@NonNull LocalSearchAcceptorConfigwithFadingValueTabuRatio(@NonNull Double fadingValueTabuRatio) @NonNull LocalSearchAcceptorConfigwithFadingValueTabuSize(@NonNull Integer fadingValueTabuSize) @NonNull LocalSearchAcceptorConfigwithLateAcceptanceSize(@NonNull Integer lateAcceptanceSize) @NonNull LocalSearchAcceptorConfigwithMoveTabuSize(@NonNull Integer moveTabuSize) @NonNull LocalSearchAcceptorConfigwithSimulatedAnnealingStartingTemperature(@NonNull String simulatedAnnealingStartingTemperature) @NonNull LocalSearchAcceptorConfigwithStepCountingHillClimbingSize(@NonNull Integer stepCountingHillClimbingSize) @NonNull LocalSearchAcceptorConfigwithStepCountingHillClimbingType(@NonNull StepCountingHillClimbingType stepCountingHillClimbingType) withUndoMoveTabuSize(Integer undoMoveTabuSize) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, no longer has any effect.@NonNull LocalSearchAcceptorConfigwithValueTabuRatio(@NonNull Double valueTabuRatio) @NonNull LocalSearchAcceptorConfigwithValueTabuSize(@NonNull Integer valueTabuSize) Methods inherited from class ai.timefold.solver.core.config.AbstractConfig
toString
-
Field Details
-
entityTabuSize
-
entityTabuRatio
-
fadingEntityTabuSize
-
fadingEntityTabuRatio
-
valueTabuSize
-
valueTabuRatio
-
fadingValueTabuSize
-
fadingValueTabuRatio
-
moveTabuSize
-
fadingMoveTabuSize
-
undoMoveTabuSize
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, no longer has any effect. -
fadingUndoMoveTabuSize
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, no longer has any effect. -
simulatedAnnealingStartingTemperature
-
lateAcceptanceSize
-
greatDelugeWaterLevelIncrementScore
-
greatDelugeWaterLevelIncrementRatio
-
stepCountingHillClimbingSize
-
stepCountingHillClimbingType
-
-
Constructor Details
-
LocalSearchAcceptorConfig
public LocalSearchAcceptorConfig()
-
-
Method Details
-
getAcceptorTypeList
-
setAcceptorTypeList
-
getEntityTabuSize
-
setEntityTabuSize
-
getEntityTabuRatio
-
setEntityTabuRatio
-
getFadingEntityTabuSize
-
setFadingEntityTabuSize
-
getFadingEntityTabuRatio
-
setFadingEntityTabuRatio
-
getValueTabuSize
-
setValueTabuSize
-
getValueTabuRatio
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated on account of never having worked in the first place. -
setValueTabuRatio
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated on account of never having worked in the first place. -
getFadingValueTabuSize
-
setFadingValueTabuSize
-
getFadingValueTabuRatio
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated on account of never having worked in the first place. -
setFadingValueTabuRatio
@Deprecated(forRemoval=true, since="1.5.0") public void setFadingValueTabuRatio(Double fadingValueTabuRatio) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated on account of never having worked in the first place. -
getMoveTabuSize
-
setMoveTabuSize
-
getFadingMoveTabuSize
-
setFadingMoveTabuSize
-
getUndoMoveTabuSize
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, no longer has any effect. -
setUndoMoveTabuSize
@Deprecated(forRemoval=true, since="1.16.0") public void setUndoMoveTabuSize(Integer undoMoveTabuSize) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, no longer has any effect. -
getFadingUndoMoveTabuSize
Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, no longer has any effect. -
setFadingUndoMoveTabuSize
@Deprecated(forRemoval=true, since="1.16.0") public void setFadingUndoMoveTabuSize(Integer fadingUndoMoveTabuSize) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, no longer has any effect. -
getSimulatedAnnealingStartingTemperature
-
setSimulatedAnnealingStartingTemperature
public void setSimulatedAnnealingStartingTemperature(@Nullable String simulatedAnnealingStartingTemperature) -
getLateAcceptanceSize
-
setLateAcceptanceSize
-
getGreatDelugeWaterLevelIncrementScore
-
setGreatDelugeWaterLevelIncrementScore
public void setGreatDelugeWaterLevelIncrementScore(@Nullable String greatDelugeWaterLevelIncrementScore) -
getGreatDelugeWaterLevelIncrementRatio
-
setGreatDelugeWaterLevelIncrementRatio
public void setGreatDelugeWaterLevelIncrementRatio(@Nullable Double greatDelugeWaterLevelIncrementRatio) -
getStepCountingHillClimbingSize
-
setStepCountingHillClimbingSize
-
getStepCountingHillClimbingType
-
setStepCountingHillClimbingType
public void setStepCountingHillClimbingType(@Nullable StepCountingHillClimbingType stepCountingHillClimbingType) -
withAcceptorTypeList
public @NonNull LocalSearchAcceptorConfig withAcceptorTypeList(@NonNull List<AcceptorType> acceptorTypeList) -
withEntityTabuSize
-
withEntityTabuRatio
-
withFadingEntityTabuSize
public @NonNull LocalSearchAcceptorConfig withFadingEntityTabuSize(@NonNull Integer fadingEntityTabuSize) -
withFadingEntityTabuRatio
public @NonNull LocalSearchAcceptorConfig withFadingEntityTabuRatio(@NonNull Double fadingEntityTabuRatio) -
withValueTabuSize
-
withValueTabuRatio
-
withFadingValueTabuSize
public @NonNull LocalSearchAcceptorConfig withFadingValueTabuSize(@NonNull Integer fadingValueTabuSize) -
withFadingValueTabuRatio
public @NonNull LocalSearchAcceptorConfig withFadingValueTabuRatio(@NonNull Double fadingValueTabuRatio) -
withMoveTabuSize
-
withFadingMoveTabuSize
public @NonNull LocalSearchAcceptorConfig withFadingMoveTabuSize(@NonNull Integer fadingMoveTabuSize) -
withUndoMoveTabuSize
@Deprecated(forRemoval=true, since="1.16.0") public LocalSearchAcceptorConfig withUndoMoveTabuSize(Integer undoMoveTabuSize) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, no longer has any effect. -
withFadingUndoMoveTabuSize
@Deprecated(forRemoval=true, since="1.16.0") public LocalSearchAcceptorConfig withFadingUndoMoveTabuSize(Integer fadingUndoMoveTabuSize) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, no longer has any effect. -
withSimulatedAnnealingStartingTemperature
public @NonNull LocalSearchAcceptorConfig withSimulatedAnnealingStartingTemperature(@NonNull String simulatedAnnealingStartingTemperature) -
withLateAcceptanceSize
public @NonNull LocalSearchAcceptorConfig withLateAcceptanceSize(@NonNull Integer lateAcceptanceSize) -
withStepCountingHillClimbingSize
public @NonNull LocalSearchAcceptorConfig withStepCountingHillClimbingSize(@NonNull Integer stepCountingHillClimbingSize) -
withStepCountingHillClimbingType
public @NonNull LocalSearchAcceptorConfig withStepCountingHillClimbingType(@NonNull StepCountingHillClimbingType stepCountingHillClimbingType) -
inherit
public @NonNull LocalSearchAcceptorConfig inherit(@NonNull LocalSearchAcceptorConfig 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.- Specified by:
inheritin classAbstractConfig<LocalSearchAcceptorConfig>- Returns:
- this
-
copyConfig
Description copied from class:AbstractConfigTypically implemented by constructing a new instance and callingAbstractConfig.inherit(AbstractConfig)on it.- Specified by:
copyConfigin classAbstractConfig<LocalSearchAcceptorConfig>- 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<LocalSearchAcceptorConfig>- Parameters:
classVisitor- The visitor of classes. Can accept null instances of Class.
-