AbstractUnivariateDifferentiableSolver
@Deprecated public abstract class AbstractDifferentiableUnivariateSolver extends BaseAbstractUnivariateSolver<DifferentiableUnivariateFunction> implements DifferentiableUnivariateSolver
Modifier | Constructor and Description |
---|---|
protected |
AbstractDifferentiableUnivariateSolver(double absoluteAccuracy)
Deprecated.
Construct a solver with given absolute accuracy.
|
protected |
AbstractDifferentiableUnivariateSolver(double relativeAccuracy,
double absoluteAccuracy,
double functionValueAccuracy)
Deprecated.
Construct a solver with given accuracies.
|
Modifier and Type | Method and Description |
---|---|
protected double |
computeDerivativeObjectiveValue(double point)
Deprecated.
Compute the objective function value.
|
protected void |
setup(int maxEval,
DifferentiableUnivariateFunction f,
double min,
double max,
double startValue)
Deprecated.
Prepare for computation.
|
computeObjectiveValue, doSolve, getAbsoluteAccuracy, getEvaluations, getFunctionValueAccuracy, getMax, getMaxEvaluations, getMin, getRelativeAccuracy, getStartValue, incrementEvaluationCount, isBracketing, isSequence, solve, solve, solve, verifyBracketing, verifyInterval, verifySequence
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAbsoluteAccuracy, getEvaluations, getFunctionValueAccuracy, getMaxEvaluations, getRelativeAccuracy, solve, solve, solve
protected AbstractDifferentiableUnivariateSolver(double absoluteAccuracy)
absoluteAccuracy
- Maximum absolute error.protected AbstractDifferentiableUnivariateSolver(double relativeAccuracy, double absoluteAccuracy, double functionValueAccuracy)
relativeAccuracy
- Maximum relative error.absoluteAccuracy
- Maximum absolute error.functionValueAccuracy
- Maximum function value error.protected double computeDerivativeObjectiveValue(double point) throws TooManyEvaluationsException
point
- Point at which the objective function must be evaluated.TooManyEvaluationsException
- if the maximal number of evaluations is exceeded.protected void setup(int maxEval, DifferentiableUnivariateFunction f, double min, double max, double startValue)
solve
methods.setup
in class BaseAbstractUnivariateSolver<DifferentiableUnivariateFunction>
maxEval
- Maximum number of evaluations.f
- Function to solve.min
- Lower bound for the interval.max
- Upper bound for the interval.startValue
- Start value to use.Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.