Class LocalSearchAcceptorConfig
java.lang.Object
org.optaplanner.core.config.AbstractConfig<LocalSearchAcceptorConfig>
org.optaplanner.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.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) 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) 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 org.optaplanner.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
-
setValueTabuRatio
-
getFadingValueTabuSize
-
setFadingValueTabuSize
-
getFadingValueTabuRatio
-
setFadingValueTabuRatio
-
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.
-