OptimizationData
public class MaxIter extends Object implements OptimizationData
Constructor | Description |
---|---|
MaxIter(int max) |
Modifier and Type | Method | 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.MathIllegalArgumentException
- if max <= 0
.public int getMaxIter()
public static MaxIter unlimited()
Integer.MAX_VALUE
evaluations.Copyright © 2016–2018 Hipparchus.org. All rights reserved.