Class AcceptorConfig
- java.lang.Object
-
- org.optaplanner.core.config.AbstractConfig<AcceptorConfig>
-
- org.optaplanner.core.config.localsearch.decider.acceptor.AcceptorConfig
-
public class AcceptorConfig extends AbstractConfig<AcceptorConfig>
-
-
Field Summary
Fields Modifier and Type Field Description protected DoubleentityTabuRatioprotected IntegerentityTabuSizeprotected DoublefadingEntityTabuRatioprotected IntegerfadingEntityTabuSizeprotected IntegerfadingMoveTabuSizeprotected IntegerfadingSolutionTabuSizeDeprecated.protected IntegerfadingUndoMoveTabuSizeprotected DoublefadingValueTabuRatioprotected IntegerfadingValueTabuSizeprotected DoublegreatDelugeWaterLevelIncrementRatioprotected StringgreatDelugeWaterLevelIncrementScoreprotected IntegerlateAcceptanceSizeprotected IntegermoveTabuSizeprotected StringsimulatedAnnealingStartingTemperatureprotected IntegersolutionTabuSizeDeprecated.protected IntegerstepCountingHillClimbingSizeprotected StepCountingHillClimbingTypestepCountingHillClimbingTypeprotected IntegerundoMoveTabuSizeprotected DoublevalueTabuRatioprotected IntegervalueTabuSize
-
Constructor Summary
Constructors Constructor Description AcceptorConfig()
-
Method Summary
-
Methods inherited from class org.optaplanner.core.config.AbstractConfig
deduceEntityDescriptor, deduceVariableDescriptor, deduceVariableDescriptorList, 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
-
solutionTabuSize
@Deprecated protected Integer solutionTabuSize
Deprecated.
-
fadingSolutionTabuSize
@Deprecated protected Integer fadingSolutionTabuSize
Deprecated.
-
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
-
getAcceptorClassList
@Deprecated public List<Class<? extends Acceptor>> getAcceptorClassList()
Deprecated.
-
setAcceptorClassList
@Deprecated public void setAcceptorClassList(List<Class<? extends Acceptor>> acceptorClassList)
Deprecated.
-
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)
-
getSolutionTabuSize
@Deprecated public Integer getSolutionTabuSize()
Deprecated.
-
setSolutionTabuSize
@Deprecated public void setSolutionTabuSize(Integer solutionTabuSize)
Deprecated.
-
getFadingSolutionTabuSize
@Deprecated public Integer getFadingSolutionTabuSize()
Deprecated.
-
setFadingSolutionTabuSize
@Deprecated public void setFadingSolutionTabuSize(Integer fadingSolutionTabuSize)
Deprecated.
-
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)
-
withAcceptorClassList
@Deprecated public AcceptorConfig withAcceptorClassList(List<Class<? extends Acceptor>> acceptorClassList)
Deprecated.
-
withAcceptorTypeList
public AcceptorConfig withAcceptorTypeList(List<AcceptorType> acceptorTypeList)
-
withEntityTabuSize
public AcceptorConfig withEntityTabuSize(Integer entityTabuSize)
-
withEntityTabuRatio
public AcceptorConfig withEntityTabuRatio(Double entityTabuRatio)
-
withFadingEntityTabuSize
public AcceptorConfig withFadingEntityTabuSize(Integer fadingEntityTabuSize)
-
withFadingEntityTabuRatio
public AcceptorConfig withFadingEntityTabuRatio(Double fadingEntityTabuRatio)
-
withValueTabuSize
public AcceptorConfig withValueTabuSize(Integer valueTabuSize)
-
withValueTabuRatio
public AcceptorConfig withValueTabuRatio(Double valueTabuRatio)
-
withFadingValueTabuSize
public AcceptorConfig withFadingValueTabuSize(Integer fadingValueTabuSize)
-
withFadingValueTabuRatio
public AcceptorConfig withFadingValueTabuRatio(Double fadingValueTabuRatio)
-
withMoveTabuSize
public AcceptorConfig withMoveTabuSize(Integer moveTabuSize)
-
withFadingMoveTabuSize
public AcceptorConfig withFadingMoveTabuSize(Integer fadingMoveTabuSize)
-
withUndoMoveTabuSize
public AcceptorConfig withUndoMoveTabuSize(Integer undoMoveTabuSize)
-
withFadingUndoMoveTabuSize
public AcceptorConfig withFadingUndoMoveTabuSize(Integer fadingUndoMoveTabuSize)
-
withSolutionTabuSize
@Deprecated public AcceptorConfig withSolutionTabuSize(Integer solutionTabuSize)
Deprecated.
-
withFadingSolutionTabuSize
@Deprecated public AcceptorConfig withFadingSolutionTabuSize(Integer fadingSolutionTabuSize)
Deprecated.
-
withSimulatedAnnealingStartingTemperature
public AcceptorConfig withSimulatedAnnealingStartingTemperature(String simulatedAnnealingStartingTemperature)
-
withLateAcceptanceSize
public AcceptorConfig withLateAcceptanceSize(Integer lateAcceptanceSize)
-
withStepCountingHillClimbingSize
public AcceptorConfig withStepCountingHillClimbingSize(Integer stepCountingHillClimbingSize)
-
withStepCountingHillClimbingType
public AcceptorConfig withStepCountingHillClimbingType(StepCountingHillClimbingType stepCountingHillClimbingType)
-
buildAcceptor
public Acceptor buildAcceptor(HeuristicConfigPolicy configPolicy)
-
inherit
public AcceptorConfig inherit(AcceptorConfig 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<AcceptorConfig>- Parameters:
inheritedConfig- never null- Returns:
- this
-
copyConfig
public AcceptorConfig copyConfig()
Description copied from class:AbstractConfigTypically implemented by constructing a new instance and callingAbstractConfig.inherit(AbstractConfig)on it- Specified by:
copyConfigin classAbstractConfig<AcceptorConfig>- Returns:
- new instance
-
-