org.shetline.math
Class MinMaxFinder
java.lang.Object
org.shetline.math.MinMaxFinder
public abstract class MinMaxFinder
- extends Object
Constructor Summary |
MinMaxFinder(Object client,
double tolerance,
int maxIterations,
double ax,
double bx,
double cx,
Number... params)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
client
protected Object client
tolerance
protected double tolerance
maxIterations
protected int maxIterations
ax
protected double ax
bx
protected double bx
cx
protected double cx
param
protected double[] param
x
protected double x
fx
protected double fx
iterationCount
protected int iterationCount
ZEPS
protected double ZEPS
isMin
protected boolean isMin
CGOLD
protected static final double CGOLD
- See Also:
- Constant Field Values
MinMaxFinder
public MinMaxFinder(Object client,
double tolerance,
int maxIterations,
double ax,
double bx,
double cx,
Number... params)
getXAtMinMax
public double getXAtMinMax()
foundMaximum
public boolean foundMaximum()
foundMinimum
public boolean foundMinimum()
getLastY
public double getLastY()
getIterationCount
public int getIterationCount()
minMaxSeekingFunction
public abstract double minMaxSeekingFunction(double x)