Class ExhaustiveSearchPhaseConfig
java.lang.Object
org.optaplanner.core.config.AbstractConfig<Config_>
org.optaplanner.core.config.phase.PhaseConfig<ExhaustiveSearchPhaseConfig>
org.optaplanner.core.config.exhaustivesearch.ExhaustiveSearchPhaseConfig
-
Field Summary
Modifier and TypeFieldDescriptionprotected EntitySelectorConfig
protected EntitySorterManner
protected ExhaustiveSearchType
protected MoveSelectorConfig
protected NodeExplorationType
protected ValueSorterManner
static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionTypically implemented by constructing a new instance and callingAbstractConfig.inherit(AbstractConfig)
on it.inherit
(ExhaustiveSearchPhaseConfig inheritedConfig) Inherits each property of theinheritedConfig
unless that property (or a semantic alternative) is defined by this instance (which overwrites the inherited behaviour).void
setEntitySelectorConfig
(EntitySelectorConfig entitySelectorConfig) void
setEntitySorterManner
(EntitySorterManner entitySorterManner) void
setExhaustiveSearchType
(ExhaustiveSearchType exhaustiveSearchType) void
setMoveSelectorConfig
(MoveSelectorConfig moveSelectorConfig) void
setNodeExplorationType
(NodeExplorationType nodeExplorationType) void
setValueSorterManner
(ValueSorterManner valueSorterManner) void
visitReferencedClasses
(Consumer<Class<?>> classVisitor) Call the class visitor on each (possibly null) Class instance provided to this config by the user (including those provided in child configs).withEntitySelectorConfig
(EntitySelectorConfig entitySelectorConfig) withEntitySorterManner
(EntitySorterManner entitySorterManner) withExhaustiveSearchType
(ExhaustiveSearchType exhaustiveSearchType) withMoveSelectorConfig
(MoveSelectorConfig moveSelectorConfig) withNodeExplorationType
(NodeExplorationType nodeExplorationType) withValueSorterManner
(ValueSorterManner valueSorterManner) Methods inherited from class org.optaplanner.core.config.phase.PhaseConfig
getTerminationConfig, setTerminationConfig, toString, withTerminationConfig
-
Field Details
-
XML_ELEMENT_NAME
- See Also:
-
exhaustiveSearchType
-
nodeExplorationType
-
entitySorterManner
-
valueSorterManner
-
entitySelectorConfig
-
moveSelectorConfig
-
-
Constructor Details
-
ExhaustiveSearchPhaseConfig
public ExhaustiveSearchPhaseConfig()
-
-
Method Details
-
getExhaustiveSearchType
-
setExhaustiveSearchType
-
getNodeExplorationType
-
setNodeExplorationType
-
getEntitySorterManner
-
setEntitySorterManner
-
getValueSorterManner
-
setValueSorterManner
-
getEntitySelectorConfig
-
setEntitySelectorConfig
-
getMoveSelectorConfig
-
setMoveSelectorConfig
-
withExhaustiveSearchType
public ExhaustiveSearchPhaseConfig withExhaustiveSearchType(ExhaustiveSearchType exhaustiveSearchType) -
withNodeExplorationType
-
withEntitySorterManner
-
withValueSorterManner
-
withEntitySelectorConfig
public ExhaustiveSearchPhaseConfig withEntitySelectorConfig(EntitySelectorConfig entitySelectorConfig) -
withMoveSelectorConfig
-
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.- Overrides:
inherit
in classPhaseConfig<ExhaustiveSearchPhaseConfig>
- Parameters:
inheritedConfig
- never null- Returns:
- this
-
copyConfig
Description copied from class:AbstractConfig
Typically implemented by constructing a new instance and callingAbstractConfig.inherit(AbstractConfig)
on it.- Specified by:
copyConfig
in classAbstractConfig<ExhaustiveSearchPhaseConfig>
- Returns:
- new instance
-
visitReferencedClasses
Description copied from class:AbstractConfig
Call the class visitor on each (possibly null) Class instance provided to this config by the user (including those provided in child configs). Required to create the bean factory in Quarkus.- Specified by:
visitReferencedClasses
in classAbstractConfig<ExhaustiveSearchPhaseConfig>
- Parameters:
classVisitor
- The visitor of classes, never null. Can accept null instances of Class.
-