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 java.lang.Object implements Incrementor.MaxCountExceededCallback
Defines the action to perform when reaching the maximum number of evaluations.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
MaxIterCallback()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
trigger(int max)
Function called when the maximal count has been reached.
-
-
-
Method Detail
-
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
-
-