org.apache.commons.math3.optim
public class MaxIter extends Object implements OptimizationData
Modifier and Type | Field and Description |
---|---|
private int |
maxIter
Allowed number of evalutations.
|
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 (c) 2003-2013 Apache Software Foundation