public class LocalSearchPhaseConfig extends PhaseConfig<LocalSearchPhaseConfig>
Modifier and Type | Field and Description |
---|---|
protected LocalSearchType |
localSearchType |
Constructor and Description |
---|
LocalSearchPhaseConfig() |
buildPhaseTermination, getTerminationConfig, setTerminationConfig, toString
copyConfig, deduceEntityDescriptor, deduceVariableDescriptor, deduceVariableDescriptorList, newInstance
protected LocalSearchType localSearchType
public LocalSearchType getLocalSearchType()
public void setLocalSearchType(LocalSearchType localSearchType)
public MoveSelectorConfig getMoveSelectorConfig()
public void setMoveSelectorConfig(MoveSelectorConfig moveSelectorConfig)
public AcceptorConfig getAcceptorConfig()
public void setAcceptorConfig(AcceptorConfig acceptorConfig)
public LocalSearchForagerConfig getForagerConfig()
public void setForagerConfig(LocalSearchForagerConfig foragerConfig)
public LocalSearchPhase buildPhase(int phaseIndex, HeuristicConfigPolicy solverConfigPolicy, BestSolutionRecaller bestSolutionRecaller, Termination solverTermination)
buildPhase
in class PhaseConfig<LocalSearchPhaseConfig>
protected Acceptor buildAcceptor(HeuristicConfigPolicy configPolicy)
protected LocalSearchForager buildForager(HeuristicConfigPolicy configPolicy)
protected MoveSelector buildMoveSelector(HeuristicConfigPolicy configPolicy)
public void inherit(LocalSearchPhaseConfig 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 PhaseConfig<LocalSearchPhaseConfig>
inheritedConfig
- never nullCopyright © 2006–2019 JBoss by Red Hat. All rights reserved.