Class ExhaustiveSearchPhaseConfig
java.lang.Object
ai.timefold.solver.core.config.AbstractConfig<Config_>
ai.timefold.solver.core.config.phase.PhaseConfig<ExhaustiveSearchPhaseConfig>
ai.timefold.solver.core.config.exhaustivesearch.ExhaustiveSearchPhaseConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected EntitySelectorConfigprotected EntitySorterMannerprotected ExhaustiveSearchTypeprotected MoveSelectorConfigprotected NodeExplorationTypeprotected ValueSorterMannerstatic final StringFields inherited from class ai.timefold.solver.core.config.phase.PhaseConfig
terminationConfig -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull ExhaustiveSearchPhaseConfigTypically implemented by constructing a new instance and callingAbstractConfig.inherit(AbstractConfig)on it.@Nullable EntitySelectorConfig@Nullable EntitySorterManner@Nullable ExhaustiveSearchType@Nullable MoveSelectorConfig@Nullable NodeExplorationType@Nullable ValueSorterManner@NonNull ExhaustiveSearchPhaseConfiginherit(@NonNull ExhaustiveSearchPhaseConfig inheritedConfig) Inherits each property of theinheritedConfigunless that property (or a semantic alternative) is defined by this instance (which overwrites the inherited behaviour).voidsetEntitySelectorConfig(@Nullable EntitySelectorConfig entitySelectorConfig) voidsetEntitySorterManner(@Nullable EntitySorterManner entitySorterManner) voidsetExhaustiveSearchType(@Nullable ExhaustiveSearchType exhaustiveSearchType) voidsetMoveSelectorConfig(@Nullable MoveSelectorConfig moveSelectorConfig) voidsetNodeExplorationType(@Nullable NodeExplorationType nodeExplorationType) voidsetValueSorterManner(@Nullable ValueSorterManner valueSorterManner) voidvisitReferencedClasses(@NonNull 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).@NonNull ExhaustiveSearchPhaseConfigwithEntitySelectorConfig(@NonNull EntitySelectorConfig entitySelectorConfig) @NonNull ExhaustiveSearchPhaseConfigwithEntitySorterManner(@NonNull EntitySorterManner entitySorterManner) @NonNull ExhaustiveSearchPhaseConfigwithExhaustiveSearchType(@NonNull ExhaustiveSearchType exhaustiveSearchType) @NonNull ExhaustiveSearchPhaseConfigwithMoveSelectorConfig(@NonNull MoveSelectorConfig moveSelectorConfig) @NonNull ExhaustiveSearchPhaseConfigwithNodeExplorationType(@NonNull NodeExplorationType nodeExplorationType) @NonNull ExhaustiveSearchPhaseConfigwithValueSorterManner(@NonNull ValueSorterManner valueSorterManner) Methods inherited from class ai.timefold.solver.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 @NonNull ExhaustiveSearchPhaseConfig withExhaustiveSearchType(@NonNull ExhaustiveSearchType exhaustiveSearchType) -
withNodeExplorationType
public @NonNull ExhaustiveSearchPhaseConfig withNodeExplorationType(@NonNull NodeExplorationType nodeExplorationType) -
withEntitySorterManner
public @NonNull ExhaustiveSearchPhaseConfig withEntitySorterManner(@NonNull EntitySorterManner entitySorterManner) -
withValueSorterManner
public @NonNull ExhaustiveSearchPhaseConfig withValueSorterManner(@NonNull ValueSorterManner valueSorterManner) -
withEntitySelectorConfig
public @NonNull ExhaustiveSearchPhaseConfig withEntitySelectorConfig(@NonNull EntitySelectorConfig entitySelectorConfig) -
withMoveSelectorConfig
public @NonNull ExhaustiveSearchPhaseConfig withMoveSelectorConfig(@NonNull MoveSelectorConfig moveSelectorConfig) -
inherit
public @NonNull ExhaustiveSearchPhaseConfig inherit(@NonNull ExhaustiveSearchPhaseConfig inheritedConfig) 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>- 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. Can accept null instances of Class.
-