Class LocalSearchAcceptorConfig
- java.lang.Object
-
- org.optaplanner.core.config.AbstractConfig<LocalSearchAcceptorConfig>
-
- org.optaplanner.core.config.localsearch.decider.acceptor.LocalSearchAcceptorConfig
-
public class LocalSearchAcceptorConfig extends AbstractConfig<LocalSearchAcceptorConfig>
-
-
Field Summary
Fields Modifier and Type Field Description protected Double
entityTabuRatio
protected Integer
entityTabuSize
protected Double
fadingEntityTabuRatio
protected Integer
fadingEntityTabuSize
protected Integer
fadingMoveTabuSize
protected Integer
fadingUndoMoveTabuSize
protected Double
fadingValueTabuRatio
protected Integer
fadingValueTabuSize
protected Double
greatDelugeWaterLevelIncrementRatio
protected String
greatDelugeWaterLevelIncrementScore
protected Integer
lateAcceptanceSize
protected Integer
moveTabuSize
protected String
simulatedAnnealingStartingTemperature
protected Integer
stepCountingHillClimbingSize
protected StepCountingHillClimbingType
stepCountingHillClimbingType
protected Integer
undoMoveTabuSize
protected Double
valueTabuRatio
protected Integer
valueTabuSize
-
Constructor Summary
Constructors Constructor Description LocalSearchAcceptorConfig()
-
Method Summary
-
Methods inherited from class org.optaplanner.core.config.AbstractConfig
toString
-
-
-
-
Field Detail
-
entityTabuSize
protected Integer entityTabuSize
-
entityTabuRatio
protected Double entityTabuRatio
-
fadingEntityTabuSize
protected Integer fadingEntityTabuSize
-
fadingEntityTabuRatio
protected Double fadingEntityTabuRatio
-
valueTabuSize
protected Integer valueTabuSize
-
valueTabuRatio
protected Double valueTabuRatio
-
fadingValueTabuSize
protected Integer fadingValueTabuSize
-
fadingValueTabuRatio
protected Double fadingValueTabuRatio
-
moveTabuSize
protected Integer moveTabuSize
-
fadingMoveTabuSize
protected Integer fadingMoveTabuSize
-
undoMoveTabuSize
protected Integer undoMoveTabuSize
-
fadingUndoMoveTabuSize
protected Integer fadingUndoMoveTabuSize
-
simulatedAnnealingStartingTemperature
protected String simulatedAnnealingStartingTemperature
-
lateAcceptanceSize
protected Integer lateAcceptanceSize
-
greatDelugeWaterLevelIncrementScore
protected String greatDelugeWaterLevelIncrementScore
-
greatDelugeWaterLevelIncrementRatio
protected Double greatDelugeWaterLevelIncrementRatio
-
stepCountingHillClimbingSize
protected Integer stepCountingHillClimbingSize
-
stepCountingHillClimbingType
protected StepCountingHillClimbingType stepCountingHillClimbingType
-
-
Method Detail
-
getAcceptorTypeList
public List<AcceptorType> getAcceptorTypeList()
-
setAcceptorTypeList
public void setAcceptorTypeList(List<AcceptorType> acceptorTypeList)
-
getEntityTabuSize
public Integer getEntityTabuSize()
-
setEntityTabuSize
public void setEntityTabuSize(Integer entityTabuSize)
-
getEntityTabuRatio
public Double getEntityTabuRatio()
-
setEntityTabuRatio
public void setEntityTabuRatio(Double entityTabuRatio)
-
getFadingEntityTabuSize
public Integer getFadingEntityTabuSize()
-
setFadingEntityTabuSize
public void setFadingEntityTabuSize(Integer fadingEntityTabuSize)
-
getFadingEntityTabuRatio
public Double getFadingEntityTabuRatio()
-
setFadingEntityTabuRatio
public void setFadingEntityTabuRatio(Double fadingEntityTabuRatio)
-
getValueTabuSize
public Integer getValueTabuSize()
-
setValueTabuSize
public void setValueTabuSize(Integer valueTabuSize)
-
getValueTabuRatio
public Double getValueTabuRatio()
-
setValueTabuRatio
public void setValueTabuRatio(Double valueTabuRatio)
-
getFadingValueTabuSize
public Integer getFadingValueTabuSize()
-
setFadingValueTabuSize
public void setFadingValueTabuSize(Integer fadingValueTabuSize)
-
getFadingValueTabuRatio
public Double getFadingValueTabuRatio()
-
setFadingValueTabuRatio
public void setFadingValueTabuRatio(Double fadingValueTabuRatio)
-
getMoveTabuSize
public Integer getMoveTabuSize()
-
setMoveTabuSize
public void setMoveTabuSize(Integer moveTabuSize)
-
getFadingMoveTabuSize
public Integer getFadingMoveTabuSize()
-
setFadingMoveTabuSize
public void setFadingMoveTabuSize(Integer fadingMoveTabuSize)
-
getUndoMoveTabuSize
public Integer getUndoMoveTabuSize()
-
setUndoMoveTabuSize
public void setUndoMoveTabuSize(Integer undoMoveTabuSize)
-
getFadingUndoMoveTabuSize
public Integer getFadingUndoMoveTabuSize()
-
setFadingUndoMoveTabuSize
public void setFadingUndoMoveTabuSize(Integer fadingUndoMoveTabuSize)
-
getSimulatedAnnealingStartingTemperature
public String getSimulatedAnnealingStartingTemperature()
-
setSimulatedAnnealingStartingTemperature
public void setSimulatedAnnealingStartingTemperature(String simulatedAnnealingStartingTemperature)
-
getLateAcceptanceSize
public Integer getLateAcceptanceSize()
-
setLateAcceptanceSize
public void setLateAcceptanceSize(Integer lateAcceptanceSize)
-
getGreatDelugeWaterLevelIncrementScore
public String getGreatDelugeWaterLevelIncrementScore()
-
setGreatDelugeWaterLevelIncrementScore
public void setGreatDelugeWaterLevelIncrementScore(String greatDelugeWaterLevelIncrementScore)
-
getGreatDelugeWaterLevelIncrementRatio
public Double getGreatDelugeWaterLevelIncrementRatio()
-
setGreatDelugeWaterLevelIncrementRatio
public void setGreatDelugeWaterLevelIncrementRatio(Double greatDelugeWaterLevelIncrementRatio)
-
getStepCountingHillClimbingSize
public Integer getStepCountingHillClimbingSize()
-
setStepCountingHillClimbingSize
public void setStepCountingHillClimbingSize(Integer stepCountingHillClimbingSize)
-
getStepCountingHillClimbingType
public StepCountingHillClimbingType getStepCountingHillClimbingType()
-
setStepCountingHillClimbingType
public void setStepCountingHillClimbingType(StepCountingHillClimbingType stepCountingHillClimbingType)
-
withAcceptorTypeList
public LocalSearchAcceptorConfig withAcceptorTypeList(List<AcceptorType> acceptorTypeList)
-
withEntityTabuSize
public LocalSearchAcceptorConfig withEntityTabuSize(Integer entityTabuSize)
-
withEntityTabuRatio
public LocalSearchAcceptorConfig withEntityTabuRatio(Double entityTabuRatio)
-
withFadingEntityTabuSize
public LocalSearchAcceptorConfig withFadingEntityTabuSize(Integer fadingEntityTabuSize)
-
withFadingEntityTabuRatio
public LocalSearchAcceptorConfig withFadingEntityTabuRatio(Double fadingEntityTabuRatio)
-
withValueTabuSize
public LocalSearchAcceptorConfig withValueTabuSize(Integer valueTabuSize)
-
withValueTabuRatio
public LocalSearchAcceptorConfig withValueTabuRatio(Double valueTabuRatio)
-
withFadingValueTabuSize
public LocalSearchAcceptorConfig withFadingValueTabuSize(Integer fadingValueTabuSize)
-
withFadingValueTabuRatio
public LocalSearchAcceptorConfig withFadingValueTabuRatio(Double fadingValueTabuRatio)
-
withMoveTabuSize
public LocalSearchAcceptorConfig withMoveTabuSize(Integer moveTabuSize)
-
withFadingMoveTabuSize
public LocalSearchAcceptorConfig withFadingMoveTabuSize(Integer fadingMoveTabuSize)
-
withUndoMoveTabuSize
public LocalSearchAcceptorConfig withUndoMoveTabuSize(Integer undoMoveTabuSize)
-
withFadingUndoMoveTabuSize
public LocalSearchAcceptorConfig withFadingUndoMoveTabuSize(Integer fadingUndoMoveTabuSize)
-
withSimulatedAnnealingStartingTemperature
public LocalSearchAcceptorConfig withSimulatedAnnealingStartingTemperature(String simulatedAnnealingStartingTemperature)
-
withLateAcceptanceSize
public LocalSearchAcceptorConfig withLateAcceptanceSize(Integer lateAcceptanceSize)
-
withStepCountingHillClimbingSize
public LocalSearchAcceptorConfig withStepCountingHillClimbingSize(Integer stepCountingHillClimbingSize)
-
withStepCountingHillClimbingType
public LocalSearchAcceptorConfig withStepCountingHillClimbingType(StepCountingHillClimbingType stepCountingHillClimbingType)
-
inherit
public LocalSearchAcceptorConfig inherit(LocalSearchAcceptorConfig inheritedConfig)
Description copied from class:AbstractConfig
Inherits each property of theinheritedConfig
unless that property (or a semantic alternative) is defined by this instance (which overwrites the inherited behaviour).After the inheritance, if a property on this
AbstractConfig
composition is replaced, it should not affect the inherited composition instance.- Specified by:
inherit
in classAbstractConfig<LocalSearchAcceptorConfig>
- Parameters:
inheritedConfig
- never null- Returns:
- this
-
copyConfig
public LocalSearchAcceptorConfig copyConfig()
Description copied from class:AbstractConfig
Typically implemented by constructing a new instance and callingAbstractConfig.inherit(AbstractConfig)
on it- Specified by:
copyConfig
in classAbstractConfig<LocalSearchAcceptorConfig>
- Returns:
- new instance
-
visitReferencedClasses
public void visitReferencedClasses(Consumer<Class<?>> classVisitor)
Description copied from class:AbstractConfig
Call 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:
visitReferencedClasses
in classAbstractConfig<LocalSearchAcceptorConfig>
- Parameters:
classVisitor
- The visitor of classes, never null. Can accept null instances of Class
-
-