Package org.hipparchus.optim
Interface OptimizationProblem<P>
-
- Type Parameters:
P- The type of value theconvergence checkerwill operate on. It should include the value of the model function and point where it was evaluated.
- All Known Subinterfaces:
LeastSquaresProblem
- All Known Implementing Classes:
AbstractOptimizationProblem,LeastSquaresAdapter
public interface OptimizationProblem<P>Common settings for all optimization problems. Includes divergence and convergence criteria.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConvergenceChecker<P>getConvergenceChecker()Gets the convergence checker.IncrementorgetEvaluationCounter()Get a independent Incrementor that counts up to the maximum number of evaluations and then throws an exception.IncrementorgetIterationCounter()Get a independent Incrementor that counts up to the maximum number of iterations and then throws an exception.
-
-
-
Method Detail
-
getEvaluationCounter
Incrementor getEvaluationCounter()
Get a independent Incrementor that counts up to the maximum number of evaluations and then throws an exception.- Returns:
- a counter for the evaluations.
-
getIterationCounter
Incrementor getIterationCounter()
Get a independent Incrementor that counts up to the maximum number of iterations and then throws an exception.- Returns:
- a counter for the evaluations.
-
getConvergenceChecker
ConvergenceChecker<P> getConvergenceChecker()
Gets the convergence checker.- Returns:
- the object used to check for convergence.
-
-