| Modifier and Type | Field and Description |
|---|---|
| private UnivariateFunction | function
Objective function. |
| private GoalType | goal
Type of optimization. |
| private double | max
Upper bound. |
| private double | min
Lower bound. |
| private double | start
Initial guess. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected double | Returns: the objective function value at the specified point.Point at which the objective function must be evaluated. x)Computes the objective function value. |
| public GoalType | |
| public double | |
| public double | |
| public double | |
| public UnivariatePointValuePair | Returns: a point/value pair that satisfies the convergence criteria.Optimization data. In addition to those documented in
optData)BaseOptimizer, this method will register the following data:
Overrides org. Stores data and performs the optimization. |
| protected void | parseOptimizationData(OptimizationData...
Optimization data.
The following data will be looked for:
optData)Overrides org. Scans the list of (required and optional) optimization data that characterize the problem. |
| function | back to summary |
|---|---|
| private UnivariateFunction function Objective function. | |
| goal | back to summary |
|---|---|
| private GoalType goal Type of optimization. | |
| max | back to summary |
|---|---|
| private double max Upper bound. | |
| min | back to summary |
|---|---|
| private double min Lower bound. | |
| start | back to summary |
|---|---|
| private double start Initial guess. | |
| UnivariateOptimizer | back to summary |
|---|---|
protected UnivariateOptimizer(ConvergenceChecker<UnivariatePointValuePair> checker)
| |
| computeObjectiveValue | back to summary |
|---|---|
| protected double computeObjectiveValue(double x) Computes the objective function value. This method must be called by subclasses to enforce the evaluation counter limit.
| |
| getGoalType | back to summary |
|---|---|
public GoalType getGoalType()
| |
| getMax | back to summary |
|---|---|
public double getMax()
| |
| getMin | back to summary |
|---|---|
public double getMin()
| |
| getStartValue | back to summary |
|---|---|
public double getStartValue()
| |
| optimize | back to summary |
|---|---|
| public UnivariatePointValuePair optimize(OptimizationData... optData) throws TooManyEvaluationsException Overrides org. Doc from org. Stores data and performs the optimization. The list of parameters is open-ended so that sub-classes can extend it with arguments specific to their concrete implementations. When the method is called multiple times, instance data is overwritten only when actually present in the list of arguments: when not specified, data set in a previous call is retained (and thus is optional in subsequent calls). Important Note Subclasses must override
| |
| parseOptimizationData | back to summary |
|---|---|
| protected void parseOptimizationData(OptimizationData... optData) Overrides org. Scans the list of (required and optional) optimization data that characterize the problem.
| |