public class MaxEval extends Object implements OptimizationData
Constructor and Description |
---|
MaxEval(int max) |
Modifier and Type | Method and Description |
---|---|
int |
getMaxEval()
Gets the maximum number of evaluations.
|
static MaxEval |
unlimited()
Factory method that creates instance of this class that represents
a virtually unlimited number of evaluations.
|
public MaxEval(int max)
max
- Allowed number of evalutations.NotStrictlyPositiveException
- if max <= 0
.public int getMaxEval()
public static MaxEval unlimited()
Integer.MAX_VALUE
evaluations.Copyright © 2023 CNES. All rights reserved.