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
-
Method Summary
Modifier and TypeMethodDescriptionInherits 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) toString()
withTerminationConfig
(TerminationConfig terminationConfig) Methods inherited from class org.optaplanner.core.config.AbstractConfig
copyConfig, visitReferencedClasses
-
Constructor Details
-
PhaseConfig
public PhaseConfig()
-
-
Method Details
-
getTerminationConfig
-
setTerminationConfig
-
withTerminationConfig
-
inherit
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
- Overrides:
toString
in classAbstractConfig<Config_ extends PhaseConfig<Config_>>
-