Deprecated
As of 3.1 (to be removed in 4.0).
| Modifier and Type | Field and Description |
|---|---|
| private final ConvergenceChecker | checker
Deprecated
as a consequence of Convergence checker.
ConvergenceChecker being deprecated.
|
| private final Incrementor | evaluations
Deprecated
as a consequence of Evaluations counter.
Incrementor being deprecated.
|
| private UnivariateFunction | function
Function to optimize. |
| private GoalType | |
| private double | searchMax
Higher end of search interval. |
| private double | searchMin
Lower end of search interval. |
| private double | searchStart
Initial guess . |
| Access | Constructor and Description |
|---|---|
| protected | BaseAbstractUnivariateOptimizer(ConvergenceChecker<UnivariatePointValuePair>
Convergence checking procedure. checker)
Deprecated
as a consequence of
ConvergenceChecker being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| protected double | Returns: the objective function value at specified point.Point at which the objective function must be evaluated. point)Compute the objective function value. |
| protected abstract UnivariatePointValuePair | Returns: the optimum and its corresponding function value.
Deprecated
as a consequence of
UnivariatePointValuePair being deprecated.
Method for implementing actual optimization algorithms in derived classes. |
| public ConvergenceChecker | getConvergenceChecker()
Implements org.
Deprecated
as a consequence of
ConvergenceChecker being deprecated.
Get the convergence checker. |
| public int | getEvaluations()
Implements org. Get the number of evaluations of the objective function. |
| public GoalType | Returns: the optimization type.
Deprecated
as a consequence of
GoalType being deprecated.
|
| public double | |
| public int | getMaxEvaluations()
Implements org. Get the maximal number of function evaluations. |
| public double | |
| public double | |
| public UnivariatePointValuePair | optimize(int
Maximum number of function evaluations. maxEval, UnivariateFunction Function to optimize. f, GoalType Type of optimization goal: either
goalType, double GoalType#MAXIMIZE or GoalType#MINIMIZE.Lower bound for the interval. min, double Upper bound for the interval. max, double Start value to use. startValue)Implements org.
Deprecated
as a consequence of
GoalType and UnivariatePointValuePair being deprecated.
Find an optimum in the given interval, start at startValue. |
| public UnivariatePointValuePair | optimize(int
Maximum number of function evaluations. maxEval, UnivariateFunction Function to optimize. f, GoalType Type of optimization goal: either
goalType, double GoalType#MAXIMIZE or GoalType#MINIMIZE.Lower bound for the interval. min, double Upper bound for the interval. max)Implements org.
Deprecated
as a consequence of
GoalType and UnivariatePointValuePair being deprecated.
Find an optimum in the given interval. |
| checker | back to summary |
|---|---|
| private final ConvergenceChecker<UnivariatePointValuePair> checker
Deprecated as a consequence of Convergence checker. | |
| evaluations | back to summary |
|---|---|
| private final Incrementor evaluations
Deprecated as a consequence of Evaluations counter. | |
| function | back to summary |
|---|---|
| private UnivariateFunction function Function to optimize. | |
| goal | back to summary |
|---|---|
| private GoalType goal
Deprecated as a consequence of Optimization type | |
| searchMax | back to summary |
|---|---|
| private double searchMax Higher end of search interval. | |
| searchMin | back to summary |
|---|---|
| private double searchMin Lower end of search interval. | |
| searchStart | back to summary |
|---|---|
| private double searchStart Initial guess . | |
| BaseAbstractUnivariateOptimizer | back to summary |
|---|---|
| protected BaseAbstractUnivariateOptimizer(ConvergenceChecker<UnivariatePointValuePair> checker)
Deprecated as a consequence of
| |
| computeObjectiveValue | back to summary |
|---|---|
| protected double computeObjectiveValue(double point) Compute the objective function value.
| |
| doOptimize | back to summary |
|---|---|
| protected abstract UnivariatePointValuePair doOptimize()
Deprecated as a consequence of Method for implementing actual optimization algorithms in derived classes.
| |
| getConvergenceChecker | back to summary |
|---|---|
| public ConvergenceChecker Implements org. Doc from org. Deprecated as a consequence of Get the convergence checker.
| |
| getEvaluations | back to summary |
|---|---|
| public int getEvaluations() Implements org. Doc from org. Get the number of evaluations of the objective function.
The number of evaluations corresponds to the last call to the
| |
| getGoalType | back to summary |
|---|---|
| public GoalType getGoalType()
Deprecated as a consequence of
| |
| getMax | back to summary |
|---|---|
public double getMax()
| |
| getMaxEvaluations | back to summary |
|---|---|
| public int getMaxEvaluations() Implements org. Doc from org. Get the maximal number of function evaluations.
| |
| getMin | back to summary |
|---|---|
public double getMin()
| |
| getStartValue | back to summary |
|---|---|
public double getStartValue()
| |
| optimize | back to summary |
|---|---|
| public UnivariatePointValuePair optimize(int maxEval, UnivariateFunction f, GoalType goalType, double min, double max, double startValue) Implements org. Doc from org. Deprecated as a consequence of Find an optimum in the given interval, start at startValue. An optimizer may require that the interval brackets a single optimum.
| |
| optimize | back to summary |
|---|---|
| public UnivariatePointValuePair optimize(int maxEval, UnivariateFunction f, GoalType goalType, double min, double max) Implements org. Doc from org. Deprecated as a consequence of Find an optimum in the given interval. An optimizer may require that the interval brackets a single optimum.
| |