Class LocalSearchForagerConfig
- java.lang.Object
-
- org.optaplanner.core.config.AbstractConfig<LocalSearchForagerConfig>
-
- org.optaplanner.core.config.localsearch.decider.forager.LocalSearchForagerConfig
-
public class LocalSearchForagerConfig extends AbstractConfig<LocalSearchForagerConfig>
-
-
Field Summary
Fields Modifier and Type Field Description protected Integer
acceptedCountLimit
protected Boolean
breakTieRandomly
protected FinalistPodiumType
finalistPodiumType
protected LocalSearchPickEarlyType
pickEarlyType
-
Constructor Summary
Constructors Constructor Description LocalSearchForagerConfig()
-
Method Summary
-
Methods inherited from class org.optaplanner.core.config.AbstractConfig
toString
-
-
-
-
Field Detail
-
pickEarlyType
protected LocalSearchPickEarlyType pickEarlyType
-
acceptedCountLimit
protected Integer acceptedCountLimit
-
finalistPodiumType
protected FinalistPodiumType finalistPodiumType
-
breakTieRandomly
protected Boolean breakTieRandomly
-
-
Method Detail
-
getPickEarlyType
public LocalSearchPickEarlyType getPickEarlyType()
-
setPickEarlyType
public void setPickEarlyType(LocalSearchPickEarlyType pickEarlyType)
-
getAcceptedCountLimit
public Integer getAcceptedCountLimit()
-
setAcceptedCountLimit
public void setAcceptedCountLimit(Integer acceptedCountLimit)
-
getFinalistPodiumType
public FinalistPodiumType getFinalistPodiumType()
-
setFinalistPodiumType
public void setFinalistPodiumType(FinalistPodiumType finalistPodiumType)
-
getBreakTieRandomly
public Boolean getBreakTieRandomly()
-
setBreakTieRandomly
public void setBreakTieRandomly(Boolean breakTieRandomly)
-
withPickEarlyType
public LocalSearchForagerConfig withPickEarlyType(LocalSearchPickEarlyType pickEarlyType)
-
withAcceptedCountLimit
public LocalSearchForagerConfig withAcceptedCountLimit(int acceptedCountLimit)
-
withFinalistPodiumType
public LocalSearchForagerConfig withFinalistPodiumType(FinalistPodiumType finalistPodiumType)
-
withBreakTieRandomly
public LocalSearchForagerConfig withBreakTieRandomly(boolean breakTieRandomly)
-
inherit
public LocalSearchForagerConfig inherit(LocalSearchForagerConfig 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<LocalSearchForagerConfig>
- Parameters:
inheritedConfig
- never null- Returns:
- this
-
copyConfig
public LocalSearchForagerConfig copyConfig()
Description copied from class:AbstractConfig
Typically implemented by constructing a new instance and callingAbstractConfig.inherit(AbstractConfig)
on it- Specified by:
copyConfig
in classAbstractConfig<LocalSearchForagerConfig>
- Returns:
- new instance
-
-