Package org.apache.commons.math3.optim
Class AbstractOptimizationProblem.MaxIterCallback
java.lang.Object
org.apache.commons.math3.optim.AbstractOptimizationProblem.MaxIterCallback
- All Implemented Interfaces:
Incrementor.MaxCountExceededCallback
- Enclosing class:
AbstractOptimizationProblem<PAIR>
private static class AbstractOptimizationProblem.MaxIterCallback
extends Object
implements Incrementor.MaxCountExceededCallback
Defines the action to perform when reaching the maximum number of evaluations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
trigger
(int max) Function called when the maximal count has been reached.
-
Constructor Details
-
MaxIterCallback
private MaxIterCallback()
-
-
Method Details
-
trigger
public void trigger(int max) Function called when the maximal count has been reached.- Specified by:
trigger
in interfaceIncrementor.MaxCountExceededCallback
- Parameters:
max
- Maximal count.- Throws:
TooManyIterationsException
-