Sky View Café - Java

org.shetline.math
Class MinMaxFinder

java.lang.Object
  extended by org.shetline.math.MinMaxFinder

public abstract class MinMaxFinder
extends Object


Field Summary
protected  double ax
           
protected  double bx
           
protected static double CGOLD
           
protected  Object client
           
protected  double cx
           
protected  double fx
           
protected  boolean isMin
           
protected  int iterationCount
           
protected  int maxIterations
           
protected  double[] param
           
protected  double tolerance
           
protected  double x
           
protected  double ZEPS
           
 
Constructor Summary
MinMaxFinder(Object client, double tolerance, int maxIterations, double ax, double bx, double cx, Number... params)
           
 
Method Summary
 boolean foundMaximum()
           
 boolean foundMinimum()
           
 int getIterationCount()
           
 double getLastY()
           
 double getXAtMinMax()
           
abstract  double minMaxSeekingFunction(double x)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

MinMaxFinder

public MinMaxFinder(Object client,
                    double tolerance,
                    int maxIterations,
                    double ax,
                    double bx,
                    double cx,
                    Number... params)
Method Detail

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)

Sky View Café - Java