PAIR - Type of the point/value pair returned by the optimization algorithm.OptimizationProblem<PAIR>public abstract class AbstractOptimizationProblem<PAIR> extends Object implements OptimizationProblem<PAIR>
| Modifier | Constructor | Description |
|---|---|---|
protected |
AbstractOptimizationProblem(int maxEvaluations,
int maxIterations,
ConvergenceChecker<PAIR> checker) |
Create an
AbstractOptimizationProblem from the given data. |
| Modifier and Type | Method | Description |
|---|---|---|
ConvergenceChecker<PAIR> |
getConvergenceChecker() |
Gets the convergence checker.
|
Incrementor |
getEvaluationCounter() |
Get a independent Incrementor that counts up to the maximum number of evaluations
and then throws an exception.
|
Incrementor |
getIterationCounter() |
Get a independent Incrementor that counts up to the maximum number of iterations
and then throws an exception.
|
protected AbstractOptimizationProblem(int maxEvaluations,
int maxIterations,
ConvergenceChecker<PAIR> checker)
AbstractOptimizationProblem from the given data.maxEvaluations - the number of allowed model function evaluations.maxIterations - the number of allowed iterations.checker - the convergence checker.public Incrementor getEvaluationCounter()
getEvaluationCounter in interface OptimizationProblem<PAIR>public Incrementor getIterationCounter()
getIterationCounter in interface OptimizationProblem<PAIR>public ConvergenceChecker<PAIR> getConvergenceChecker()
getConvergenceChecker in interface OptimizationProblem<PAIR>Copyright © 2016–2018 Hipparchus.org. All rights reserved.