public class LocalSearchForagerConfig extends AbstractConfig<LocalSearchForagerConfig>
Modifier and Type | Field and Description |
---|---|
protected Integer |
acceptedCountLimit |
protected Boolean |
breakTieRandomly |
protected FinalistPodiumType |
finalistPodiumType |
protected LocalSearchPickEarlyType |
pickEarlyType |
Constructor and Description |
---|
LocalSearchForagerConfig() |
deduceEntityDescriptor, deduceVariableDescriptor, deduceVariableDescriptorList, toString
protected LocalSearchPickEarlyType pickEarlyType
protected Integer acceptedCountLimit
protected FinalistPodiumType finalistPodiumType
protected Boolean breakTieRandomly
@Deprecated public Class<? extends LocalSearchForager> getForagerClass()
@Deprecated public void setForagerClass(Class<? extends LocalSearchForager> foragerClass)
public LocalSearchPickEarlyType getPickEarlyType()
public void setPickEarlyType(LocalSearchPickEarlyType pickEarlyType)
public Integer getAcceptedCountLimit()
public void setAcceptedCountLimit(Integer acceptedCountLimit)
public FinalistPodiumType getFinalistPodiumType()
public void setFinalistPodiumType(FinalistPodiumType finalistPodiumType)
public Boolean getBreakTieRandomly()
public void setBreakTieRandomly(Boolean breakTieRandomly)
public LocalSearchForagerConfig withPickEarlyType(LocalSearchPickEarlyType pickEarlyType)
public LocalSearchForagerConfig withAcceptedCountLimit(int acceptedCountLimit)
public LocalSearchForagerConfig withFinalistPodiumType(FinalistPodiumType finalistPodiumType)
public LocalSearchForagerConfig withBreakTieRandomly(boolean breakTieRandomly)
public LocalSearchForager buildForager(HeuristicConfigPolicy configPolicy)
public LocalSearchForagerConfig inherit(LocalSearchForagerConfig inheritedConfig)
AbstractConfig
inheritedConfig
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.
inherit
in class AbstractConfig<LocalSearchForagerConfig>
inheritedConfig
- never nullpublic LocalSearchForagerConfig copyConfig()
AbstractConfig
AbstractConfig.inherit(AbstractConfig)
on itcopyConfig
in class AbstractConfig<LocalSearchForagerConfig>
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.