Top Description Methods
org.apache.commons.math3.optimization

public Interface BaseOptimizer<PAIR>

Known Direct Subinterfaces
org.apache.commons.math3.optimization.univariate.BaseUnivariateOptimizer, org.apache.commons.math3.optimization.BaseMultivariateOptimizer, org.apache.commons.math3.optimization.BaseMultivariateVectorOptimizer
Annotations
@Deprecated
Type Parameters
<PAIR>
Type of the point/objective pair.

Deprecated

As of 3.1 (to be removed in 4.0).

This interface is mainly intended to enforce the internal coherence of Commons-Math. Users of the API are advised to base their code on the following interfaces:
Since
3.0

Method Summary

Modifier and TypeMethod and Description
public ConvergenceChecker<PAIR>

Returns:

the object used to check for convergence.
getConvergenceChecker
()
Deprecated as a consequence of ConvergenceChecker being deprecated.

Get the convergence checker.

public int

Returns:

the number of evaluations of the objective function.
getEvaluations
()

Get the number of evaluations of the objective function.

public int

Returns:

the maximal number of function evaluations.
getMaxEvaluations
()

Get the maximal number of function evaluations.

Method Detail

getConvergenceCheckerback to summary
public ConvergenceChecker<PAIR> getConvergenceChecker()

Deprecated

as a consequence of ConvergenceChecker being deprecated. See corresponding docs for further information.

Get the convergence checker.

Returns:ConvergenceChecker<PAIR>

the object used to check for convergence.

getEvaluationsback to summary
public int getEvaluations()

Get the number of evaluations of the objective function. The number of evaluations corresponds to the last call to the optimize method. It is 0 if the method has not been called yet.

Returns:int

the number of evaluations of the objective function.

getMaxEvaluationsback to summary
public int getMaxEvaluations()

Get the maximal number of function evaluations.

Returns:int

the maximal number of function evaluations.