Deprecated
As of 3.1 (to be removed in 4.0).
optimize.py v0.5).
| Modifier and Type | Field and Description |
|---|---|
| private static final double | EPS_MIN
Tolerance to avoid division by zero. |
| private final Incrementor | evaluations
Deprecated
as a consequence of Counter for function evaluations.
Incrementor being deprecated.
|
| private double | |
| private double | |
| private double | |
| private static final double | GOLD
Golden section. |
| private final double | growLimit
Factor for expanding the interval. |
| private double | hi
Higher bound of the bracket. |
| private double | lo
Lower bound of the bracket. |
| private double | mid
Point inside the bracket. |
| Access | Constructor and Description |
|---|---|
| public | |
| public | BracketFinder(double
Expanding factor. growLimit, int Maximum number of evaluations allowed for finding
a bracketing interval. maxEvaluations)Create a bracketing interval finder. |
| Modifier and Type | Method and Description |
|---|---|
| private double | |
| public int | |
| public double | |
| public double | |
| public double | |
| public double | |
| public double | |
| public int | |
| public double | |
| public void | search(UnivariateFunction
Function whose optimum should be bracketed. func, GoalType goal, double Initial point. xA, double Initial point. xB)
Deprecated
as a consequence of
GoalType being deprecated.
Search new points that bracket a local optimum of the function. |
| EPS_MIN | back to summary |
|---|---|
| private static final double EPS_MIN Tolerance to avoid division by zero. | |
| evaluations | back to summary |
|---|---|
| private final Incrementor evaluations
Deprecated as a consequence of Counter for function evaluations. | |
| fHi | back to summary |
|---|---|
| private double fHi Function value at | |
| fLo | back to summary |
|---|---|
| private double fLo Function value at | |
| fMid | back to summary |
|---|---|
| private double fMid Function value at | |
| GOLD | back to summary |
|---|---|
| private static final double GOLD Golden section. | |
| growLimit | back to summary |
|---|---|
| private final double growLimit Factor for expanding the interval. | |
| hi | back to summary |
|---|---|
| private double hi Higher bound of the bracket. | |
| lo | back to summary |
|---|---|
| private double lo Lower bound of the bracket. | |
| mid | back to summary |
|---|---|
| private double mid Point inside the bracket. | |
| BracketFinder | back to summary |
|---|---|
| public BracketFinder() Constructor with default values | |
| BracketFinder | back to summary |
|---|---|
| public BracketFinder(double growLimit, int maxEvaluations) Create a bracketing interval finder.
| |
| eval | back to summary |
|---|---|
private double eval(UnivariateFunction f, double x)
| |
| getEvaluations | back to summary |
|---|---|
public int getEvaluations()
| |
| getFHi | back to summary |
|---|---|
| public double getFHi() Get function value at
| |
| getFLo | back to summary |
|---|---|
| public double getFLo() Get function value at
| |
| getFMid | back to summary |
|---|---|
| public double getFMid() Get function value at
| |
| getHi | back to summary |
|---|---|
public double getHi()
| |
| getLo | back to summary |
|---|---|
public double getLo()
| |
| getMaxEvaluations | back to summary |
|---|---|
public int getMaxEvaluations()
| |
| getMid | back to summary |
|---|---|
public double getMid()
| |
| search | back to summary |
|---|---|
| public void search(UnivariateFunction func, GoalType goal, double xA, double xB)
Deprecated as a consequence of Search new points that bracket a local optimum of the function.
| |