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
FieldsModifier and TypeFieldDescriptionprotected EntitySelectorConfigprotected EntitySorterMannerprotected ExhaustiveSearchTypeprotected MoveSelectorConfigprotected NodeExplorationTypeprotected ValueSorterMannerstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTypically implemented by constructing a new instance and callingAbstractConfig.inherit(AbstractConfig)on it.inherit(ExhaustiveSearchPhaseConfig inheritedConfig) Inherits each property of theinheritedConfigunless that property (or a semantic alternative) is defined by this instance (which overwrites the inherited behaviour).voidsetEntitySelectorConfig(EntitySelectorConfig entitySelectorConfig) voidsetEntitySorterManner(EntitySorterManner entitySorterManner) voidsetExhaustiveSearchType(ExhaustiveSearchType exhaustiveSearchType) voidsetMoveSelectorConfig(MoveSelectorConfig moveSelectorConfig) voidsetNodeExplorationType(NodeExplorationType nodeExplorationType) voidsetValueSorterManner(ValueSorterManner valueSorterManner) voidvisitReferencedClasses(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:AbstractConfigInherits each property of theinheritedConfigunless that property (or a semantic alternative) is defined by this instance (which overwrites the inherited behaviour).After the inheritance, if a property on this
AbstractConfigcomposition is replaced, it should not affect the inherited composition instance.- Overrides:
inheritin classPhaseConfig<ExhaustiveSearchPhaseConfig>- Parameters:
inheritedConfig- never null- Returns:
- this
-
copyConfig
Description copied from class:AbstractConfigTypically implemented by constructing a new instance and callingAbstractConfig.inherit(AbstractConfig)on it.- Specified by:
copyConfigin classAbstractConfig<ExhaustiveSearchPhaseConfig>- Returns:
- new instance
-
visitReferencedClasses
Description copied from class:AbstractConfigCall 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:
visitReferencedClassesin classAbstractConfig<ExhaustiveSearchPhaseConfig>- Parameters:
classVisitor- The visitor of classes, never null. Can accept null instances of Class.
-