#include <uminstep.hh>
Inheritance diagram for RVLUmin::UMinStepLS< Scalar >:
Public Member Functions | |
UMinStepLS (FunctionalEvaluation< Scalar > &_fx, UMinDir< Scalar > &_dc, LineSearchAlg< Scalar > &_ls, ostream &_str=cout) | |
Initialize with the functional and the starting point for the optimization. | |
UMinStepLS (const UMinStepLS< Scalar > &cos) | |
virtual | ~UMinStepLS () |
Vector< Scalar > const & | getBasePoint () |
Return a reference to the base point for the step. | |
Vector< Scalar > const & | getBaseGradient () |
Return a reference to the gradient at the bast point. | |
FunctionalEvaluation< Scalar > & | getFunctionalEvaluation () |
Return a reference to the functional evaluation at the trial point. | |
void | run () |
bool | query () |
Provides the added functionality of maintaining the functional evaluations and states correctly when set, and providing external access to such states. The functional evaluation may be set to avoid recomputing result in the calling object.
On call, x0 = base point for search fx = functional evaluation at x0
On return, x = minimizer estimate fx = functional evaluation at x
The state is always the point x.
Definition at line 99 of file uminstep.hh.
RVLUmin::UMinStepLS< Scalar >::UMinStepLS | ( | FunctionalEvaluation< Scalar > & | _fx, | |
UMinDir< Scalar > & | _dc, | |||
LineSearchAlg< Scalar > & | _ls, | |||
ostream & | _str = cout | |||
) |
Initialize with the functional and the starting point for the optimization.
Definition at line 167 of file uminstep.hh.
RVLUmin::UMinStepLS< Scalar >::UMinStepLS | ( | const UMinStepLS< Scalar > & | cos | ) |
Definition at line 173 of file uminstep.hh.
virtual RVLUmin::UMinStepLS< Scalar >::~UMinStepLS | ( | ) | [virtual] |
Definition at line 176 of file uminstep.hh.
Vector<Scalar> const& RVLUmin::UMinStepLS< Scalar >::getBasePoint | ( | ) |
Vector<Scalar> const& RVLUmin::UMinStepLS< Scalar >::getBaseGradient | ( | ) |
FunctionalEvaluation<Scalar>& RVLUmin::UMinStepLS< Scalar >::getFunctionalEvaluation | ( | ) |
Return a reference to the functional evaluation at the trial point.
Definition at line 185 of file uminstep.hh.
void RVLUmin::UMinStepLS< Scalar >::run | ( | ) | [virtual] |
Implements RVLAlg::Algorithm.
Definition at line 187 of file uminstep.hh.
References RVL::RVLException::what().
bool RVLUmin::UMinStepLS< Scalar >::query | ( | ) | [virtual] |