Interface HeuristicOptimizationAlgorithmConfig.BuildFinal
- All Known Implementing Classes:
HeuristicOptimizationAlgorithmConfig.Builder
- Enclosing class:
- HeuristicOptimizationAlgorithmConfig
public static interface HeuristicOptimizationAlgorithmConfig.BuildFinal
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds a newHeuristicOptimizationAlgorithmConfig
.hasAutoFilter
(boolean hasAutoFilter) Initializes the value for thehasAutoFilter
attribute.simulatedAnnealingOverrideNumIterationsValue
(int simulatedAnnealingOverrideNumIterationsValue) Initializes the optional valuesimulatedAnnealingOverrideNumIterationsValue
to simulatedAnnealingOverrideNumIterationsValue.simulatedAnnealingOverrideNumIterationsValue
(Optional<Integer> simulatedAnnealingOverrideNumIterationsValue) Initializes the optional valuesimulatedAnnealingOverrideNumIterationsValue
to simulatedAnnealingOverrideNumIterationsValue.
-
Method Details
-
simulatedAnnealingOverrideNumIterationsValue
HeuristicOptimizationAlgorithmConfig.BuildFinal simulatedAnnealingOverrideNumIterationsValue(int simulatedAnnealingOverrideNumIterationsValue) Initializes the optional valuesimulatedAnnealingOverrideNumIterationsValue
to simulatedAnnealingOverrideNumIterationsValue.- Parameters:
simulatedAnnealingOverrideNumIterationsValue
- The value for simulatedAnnealingOverrideNumIterationsValue- Returns:
this
builder for chained invocation
-
simulatedAnnealingOverrideNumIterationsValue
HeuristicOptimizationAlgorithmConfig.BuildFinal simulatedAnnealingOverrideNumIterationsValue(Optional<Integer> simulatedAnnealingOverrideNumIterationsValue) Initializes the optional valuesimulatedAnnealingOverrideNumIterationsValue
to simulatedAnnealingOverrideNumIterationsValue.- Parameters:
simulatedAnnealingOverrideNumIterationsValue
- The value for simulatedAnnealingOverrideNumIterationsValue- Returns:
this
builder for use in a chained invocation
-
hasAutoFilter
Initializes the value for thehasAutoFilter
attribute.If not set, this attribute will have a default value as returned by the initializer of
hasAutoFilter
.- Parameters:
hasAutoFilter
- The value for hasAutoFilter- Returns:
this
builder for use in a chained invocation
-
build
Builds a newHeuristicOptimizationAlgorithmConfig
.- Returns:
- An immutable instance of HeuristicOptimizationAlgorithmConfig
- Throws:
IllegalStateException
- if any required attributes are missing
-