|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.commons.math.optimization.direct.PowellOptimizer.LineSearch
private class PowellOptimizer.LineSearch
Class for finding the minimum of the objective function along a given direction.
| Field Summary | |
|---|---|
private BracketFinder |
bracket
Automatic bracketing. |
private AbstractUnivariateRealOptimizer |
optim
Optimizer. |
private double |
optimum
Value of the optimum. |
private double |
valueAtOptimum
Value of the objective function at the optimum. |
| Constructor Summary | |
|---|---|
PowellOptimizer.LineSearch(double relativeTolerance,
double absoluteTolerance)
|
|
| Method Summary | |
|---|---|
double |
getOptimum()
|
double |
getValueAtOptimum()
|
void |
search(double[] p,
double[] d)
Find the minimum of the function f(p + alpha * d). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final AbstractUnivariateRealOptimizer optim
private final BracketFinder bracket
private double optimum
private double valueAtOptimum
| Constructor Detail |
|---|
public PowellOptimizer.LineSearch(double relativeTolerance,
double absoluteTolerance)
relativeTolerance - Relative tolerance.absoluteTolerance - Absolute tolerance.| Method Detail |
|---|
public void search(double[] p,
double[] d)
throws OptimizationException,
FunctionEvaluationException
f(p + alpha * d).
p - Starting point.d - Search direction.
FunctionEvaluationException - if function cannot be evaluated at some test point
OptimizationException - if algorithm fails to convergepublic double getOptimum()
public double getValueAtOptimum()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||