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 Integerprotected Doubleprotected Integerprotected Doubleprotected Stringprotected Integerprotected Integerprotected Stringprotected Integerprotected StepCountingHillClimbingTypeprotected Integerprotected Doubleprotected Integer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTypically implemented by constructing a new instance and callingAbstractConfig.inherit(AbstractConfig)on it.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.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.inherit(LocalSearchAcceptorConfig inheritedConfig) Inherits each property of theinheritedConfigunless that property (or a semantic alternative) is defined by this instance (which overwrites the inherited behaviour).voidsetAcceptorTypeList(List<AcceptorType> acceptorTypeList) voidsetEntityTabuRatio(Double entityTabuRatio) voidsetEntityTabuSize(Integer entityTabuSize) voidsetFadingEntityTabuRatio(Double fadingEntityTabuRatio) voidsetFadingEntityTabuSize(Integer fadingEntityTabuSize) voidsetFadingMoveTabuSize(Integer fadingMoveTabuSize) voidsetFadingUndoMoveTabuSize(Integer fadingUndoMoveTabuSize) 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(Integer fadingValueTabuSize) voidsetGreatDelugeWaterLevelIncrementRatio(Double greatDelugeWaterLevelIncrementRatio) voidsetGreatDelugeWaterLevelIncrementScore(String greatDelugeWaterLevelIncrementScore) voidsetLateAcceptanceSize(Integer lateAcceptanceSize) voidsetMoveTabuSize(Integer moveTabuSize) voidsetSimulatedAnnealingStartingTemperature(String simulatedAnnealingStartingTemperature) voidsetStepCountingHillClimbingSize(Integer stepCountingHillClimbingSize) voidsetStepCountingHillClimbingType(StepCountingHillClimbingType stepCountingHillClimbingType) voidsetUndoMoveTabuSize(Integer undoMoveTabuSize) 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(Integer valueTabuSize) 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).withAcceptorTypeList(List<AcceptorType> acceptorTypeList) withEntityTabuRatio(Double entityTabuRatio) withEntityTabuSize(Integer entityTabuSize) withFadingEntityTabuRatio(Double fadingEntityTabuRatio) withFadingEntityTabuSize(Integer fadingEntityTabuSize) withFadingMoveTabuSize(Integer fadingMoveTabuSize) withFadingUndoMoveTabuSize(Integer fadingUndoMoveTabuSize) withFadingValueTabuRatio(Double fadingValueTabuRatio) withFadingValueTabuSize(Integer fadingValueTabuSize) withLateAcceptanceSize(Integer lateAcceptanceSize) withMoveTabuSize(Integer moveTabuSize) withSimulatedAnnealingStartingTemperature(String simulatedAnnealingStartingTemperature) withStepCountingHillClimbingSize(Integer stepCountingHillClimbingSize) withStepCountingHillClimbingType(StepCountingHillClimbingType stepCountingHillClimbingType) withUndoMoveTabuSize(Integer undoMoveTabuSize) withValueTabuRatio(Double valueTabuRatio) withValueTabuSize(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
-
fadingUndoMoveTabuSize
-
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
-
setUndoMoveTabuSize
-
getFadingUndoMoveTabuSize
-
setFadingUndoMoveTabuSize
-
getSimulatedAnnealingStartingTemperature
-
setSimulatedAnnealingStartingTemperature
-
getLateAcceptanceSize
-
setLateAcceptanceSize
-
getGreatDelugeWaterLevelIncrementScore
-
setGreatDelugeWaterLevelIncrementScore
-
getGreatDelugeWaterLevelIncrementRatio
-
setGreatDelugeWaterLevelIncrementRatio
-
getStepCountingHillClimbingSize
-
setStepCountingHillClimbingSize
-
getStepCountingHillClimbingType
-
setStepCountingHillClimbingType
public void setStepCountingHillClimbingType(StepCountingHillClimbingType stepCountingHillClimbingType) -
withAcceptorTypeList
-
withEntityTabuSize
-
withEntityTabuRatio
-
withFadingEntityTabuSize
-
withFadingEntityTabuRatio
-
withValueTabuSize
-
withValueTabuRatio
-
withFadingValueTabuSize
-
withFadingValueTabuRatio
-
withMoveTabuSize
-
withFadingMoveTabuSize
-
withUndoMoveTabuSize
-
withFadingUndoMoveTabuSize
-
withSimulatedAnnealingStartingTemperature
public LocalSearchAcceptorConfig withSimulatedAnnealingStartingTemperature(String simulatedAnnealingStartingTemperature) -
withLateAcceptanceSize
-
withStepCountingHillClimbingSize
public LocalSearchAcceptorConfig withStepCountingHillClimbingSize(Integer stepCountingHillClimbingSize) -
withStepCountingHillClimbingType
public LocalSearchAcceptorConfig withStepCountingHillClimbingType(StepCountingHillClimbingType stepCountingHillClimbingType) -
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<LocalSearchAcceptorConfig>- 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<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, never null. Can accept null instances of Class.
-