Class PhaseConfig<Config_ extends PhaseConfig<Config_>>
- java.lang.Object
-
- org.optaplanner.core.config.AbstractConfig<Config_>
-
- org.optaplanner.core.config.phase.PhaseConfig<Config_>
-
- Direct Known Subclasses:
ConstructionHeuristicPhaseConfig
,CustomPhaseConfig
,ExhaustiveSearchPhaseConfig
,LocalSearchPhaseConfig
,NoChangePhaseConfig
,PartitionedSearchPhaseConfig
public abstract class PhaseConfig<Config_ extends PhaseConfig<Config_>> extends AbstractConfig<Config_>
-
-
Constructor Summary
Constructors Constructor Description PhaseConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TerminationConfig
getTerminationConfig()
Config_
inherit(Config_ inheritedConfig)
Inherits each property of theinheritedConfig
unless that property (or a semantic alternative) is defined by this instance (which overwrites the inherited behaviour).void
setTerminationConfig(TerminationConfig terminationConfig)
String
toString()
-
Methods inherited from class org.optaplanner.core.config.AbstractConfig
copyConfig, visitReferencedClasses
-
-
-
-
Method Detail
-
getTerminationConfig
public TerminationConfig getTerminationConfig()
-
setTerminationConfig
public void setTerminationConfig(TerminationConfig terminationConfig)
-
inherit
public Config_ inherit(Config_ 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<Config_ extends PhaseConfig<Config_>>
- Parameters:
inheritedConfig
- never null- Returns:
- this
-
toString
public String toString()
- Overrides:
toString
in classAbstractConfig<Config_ extends PhaseConfig<Config_>>
-
-