41 #ifndef BPP_NUMERIC_FUNCTION_NEWTONBACKTRACKONEDIMENSION_H
42 #define BPP_NUMERIC_FUNCTION_NEWTONBACKTRACKONEDIMENSION_H
105 double fold_,
f_,
a_,
alam_,
alamin_,
alam2_,
b_,
disc_,
f2_,
rhs1_,
rhs2_,
slope_,
test_,
tmplam_;
Partial implementation of the OptimizationStopCondition interface.
Partial implementation of the Optimizer interface.
Function * getFunction_()
This is the abstract class for first order derivable functions.
This is the function abstract class.
NBODStopCondition * clone() const
Create a copy of this object and send a pointer to it.
NBODStopCondition(NewtonBacktrackOneDimension *bod)
virtual ~NBODStopCondition()
double getCurrentTolerance() const
Get the current tolerance.
bool isToleranceReached() const
Tell if the we reached the desired tolerance with a given new set of estimates.
void init()
Initialize the condition.
Newton's backtrack nearly optimization for one parameter.
double doStep()
This function is called by the step() method and contains all calculations.
NewtonBacktrackOneDimension(Function *function, double slope, double test)
void doInit(const ParameterList ¶ms)
This function is called by the init() method and contains all calculations.
DerivableFirstOrder * getFunction_()
NewtonBacktrackOneDimension * clone() const
Create a copy of this object and send a pointer to it.
virtual ~NewtonBacktrackOneDimension()
The parameter list object.