|
WebCab Optimization v2.6 (J2EE Edition) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.webcab.ejb.math.optimization.unidimensional.CubicDerivLocate
The cubic interpolation algorithm.
This `locate' algorithm can be used only for derivable functions.
If you try using this algorithm with a function for which you don't supply
a derivative, an UniDimensionalException will be thrown.
This is an iterative algorithm which uses cubic interpolation.
| Constructor Summary | |
CubicDerivLocate()
|
|
| Method Summary | |
double |
locate(Bracket br,
UniDimensionalFunction f,
double tol,
int maxiter)
Shrinks the bracketing interval until a satisfactory approximation for the extremum it contains can be found. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CubicDerivLocate()
| Method Detail |
public double locate(Bracket br,
UniDimensionalFunction f,
double tol,
int maxiter)
throws TooManyUniDimensionalIterationsException,
InvalidUniDimensionalFunctionException,
ClassCastException
locate in interface LocateAlgorithmbr - The bracket with all three points initialized.f - The function. If the function does not implement Derivative an UniDimensionalException will be thrown.tol - not usedmaxiter - If the number of iterations exceeds this number
TooManyUniDimensionalIterationsException will be
thrown.
TooManyUniDimensionalIterationsException - thrown if the number of iterations in locate
algorithms is greater than maxiter.
InvalidUniDimensionalFunctionException - thrown if the user function returns invalid
values like infinity or NaN.
ClassCastExceptionLocateAlgorithm,
LinearLocate,
BrentLocate,
BrentDerivLocate,
LinearLocate,
ParabolicLocate
|
WebCab Optimization v2.6 (J2EE Edition) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||