|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.math3.optim.MaxIter
public class MaxIter
Maximum number of iterations performed by an (iterative) algorithm.
Field Summary | |
---|---|
private int |
maxIter
Allowed number of evalutations. |
Constructor Summary | |
---|---|
MaxIter(int max)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final int maxIter
Constructor Detail |
---|
public MaxIter(int max)
max
- Allowed number of iterations.
NotStrictlyPositiveException
- if max <= 0
.Method Detail |
---|
public int getMaxIter()
public static MaxIter unlimited()
Integer.MAX_VALUE
evaluations.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |