public class MaxEval extends java.lang.Object implements OptimizationData
| Modifier and Type | Field and Description |
|---|---|
private int |
maxEval
Allowed number of evalutations.
|
| Constructor and Description |
|---|
MaxEval(int max) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public MaxEval(int max)
max - Allowed number of evalutations.NotStrictlyPositiveException - if max <= 0.public int getMaxEval()
public static MaxEval unlimited()
Integer.MAX_VALUE
evaluations.Copyright (c) 2003-2015 Apache Software Foundation