Package org.hipparchus.optim
Interface OptimizationProblem<P>
- Type Parameters:
P
- The type of value theconvergence checker
will 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
Modifier and TypeMethodDescriptionGets the convergence checker.Get a independent Incrementor that counts up to the maximum number of evaluations and then throws an exception.Get a independent Incrementor that counts up to the maximum number of iterations and then throws an exception.
-
Method Details
-
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.
-