public class MinEpsilonOrMaxIterations extends Or<IterationState>
MinEpsilon and
MaxIterations to produce a predicate that stops (returns
true) as soon as either the minimum error is reached or the maximum number of
iterations is exceeded.| Constructor and Description |
|---|
MinEpsilonOrMaxIterations(double epsilon,
int maxIter)
Construct with the given minimum epsilon and maximum number of
iterations.
|
public MinEpsilonOrMaxIterations(double epsilon, int maxIter)
epsilon - the epsilon value below which iteration should stopmaxIter - maximum number of iterations