public abstract class PhaseConfig<C extends PhaseConfig> extends AbstractConfig<C>
Constructor and Description |
---|
PhaseConfig() |
Modifier and Type | Method and Description |
---|---|
abstract Phase |
buildPhase(int phaseIndex,
HeuristicConfigPolicy solverConfigPolicy,
BestSolutionRecaller bestSolutionRecaller,
Termination solverTermination) |
protected Termination |
buildPhaseTermination(HeuristicConfigPolicy configPolicy,
Termination solverTermination) |
TerminationConfig |
getTerminationConfig() |
void |
inherit(C inheritedConfig)
Inherits each property of the
inheritedConfig unless that property (or a semantic alternative)
is defined by this instance (which overwrites the inherited behaviour). |
void |
setTerminationConfig(TerminationConfig terminationConfig) |
String |
toString() |
copyConfig, deduceEntityDescriptor, deduceVariableDescriptor, deduceVariableDescriptorList, newInstance
public TerminationConfig getTerminationConfig()
public void setTerminationConfig(TerminationConfig terminationConfig)
public abstract Phase buildPhase(int phaseIndex, HeuristicConfigPolicy solverConfigPolicy, BestSolutionRecaller bestSolutionRecaller, Termination solverTermination)
protected Termination buildPhaseTermination(HeuristicConfigPolicy configPolicy, Termination solverTermination)
public void inherit(C 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<C extends PhaseConfig>
inheritedConfig
- never nullpublic String toString()
toString
in class AbstractConfig<C extends PhaseConfig>
Copyright © 2006–2018 JBoss by Red Hat. All rights reserved.