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