|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.math3.optimization.univariate.BracketFinder
@Deprecated public class BracketFinder
Provide an interval that brackets a local optimum of a function.
This code is based on a Python implementation (from SciPy,
module optimize.py
v0.5).
Constructor Summary | |
---|---|
BracketFinder()
Deprecated. Constructor with default values 100, 50 (see the
other constructor ). |
|
BracketFinder(double growLimit,
int maxEvaluations)
Deprecated. Create a bracketing interval finder. |
Method Summary | |
---|---|
int |
getEvaluations()
Deprecated. |
double |
getFHi()
Deprecated. Get function value at getHi() . |
double |
getFLo()
Deprecated. Get function value at getLo() . |
double |
getFMid()
Deprecated. Get function value at getMid() . |
double |
getHi()
Deprecated. |
double |
getLo()
Deprecated. |
int |
getMaxEvaluations()
Deprecated. |
double |
getMid()
Deprecated. |
void |
search(UnivariateFunction func,
GoalType goal,
double xA,
double xB)
Deprecated. Search new points that bracket a local optimum of the function. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BracketFinder()
100, 50
(see the
other constructor
).
public BracketFinder(double growLimit, int maxEvaluations)
growLimit
- Expanding factor.maxEvaluations
- Maximum number of evaluations allowed for finding
a bracketing interval.Method Detail |
---|
public void search(UnivariateFunction func, GoalType goal, double xA, double xB)
func
- Function whose optimum should be bracketed.goal
- Goal type
.xA
- Initial point.xB
- Initial point.
TooManyEvaluationsException
- if the maximum number of evaluations
is exceeded.public int getMaxEvaluations()
public int getEvaluations()
public double getLo()
getFLo()
public double getFLo()
getLo()
.
getLo()
public double getHi()
getFHi()
public double getFHi()
getHi()
.
getHi()
public double getMid()
getFMid()
public double getFMid()
getMid()
.
getMid()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |