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