Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | Private Attributes | List of all members
core::optimization::func_1d Class Reference

#include <LineMinimizer.hh>

Public Member Functions

 func_1d (Multivec &start, Multivec &dir, Multifunc const &score_fxn)
 
Real operator() (Real displacement)
 
Real dfunc (Real displacement)
 
void reset_eval_count ()
 
int get_eval_count ()
 
int get_deriv_count ()
 
void dump (Real displacement)
 Error condition wherein the computed gradient does not match the actual gradient; invokes the Multifunc::dump( vars, vars2 ) method. More...
 

Public Attributes

Multivec _dE_dvars
 

Private Attributes

Multivec const _starting_point
 
Multivec const _search_direction
 
Multivec _eval_point
 
Multifunc const & _func
 
int _eval_count
 
int _deriv_count
 

Constructor & Destructor Documentation

core::optimization::func_1d::func_1d ( Multivec start,
Multivec dir,
Multifunc const &  score_fxn 
)
inline

Member Function Documentation

Real core::optimization::func_1d::dfunc ( Real  displacement)
inline
void core::optimization::func_1d::dump ( Real  displacement)

Error condition wherein the computed gradient does not match the actual gradient; invokes the Multifunc::dump( vars, vars2 ) method.

Referenced by core::optimization::ArmijoLineMinimization::Armijo().

int core::optimization::func_1d::get_deriv_count ( )
inline

References _deriv_count.

int core::optimization::func_1d::get_eval_count ( )
inline

References _eval_count.

Real core::optimization::func_1d::operator() ( Real  displacement)
inline
void core::optimization::func_1d::reset_eval_count ( )
inline

References _eval_count.

Member Data Documentation

Multivec core::optimization::func_1d::_dE_dvars
int core::optimization::func_1d::_deriv_count
private

Referenced by dfunc(), and get_deriv_count().

int core::optimization::func_1d::_eval_count
private
Multivec core::optimization::func_1d::_eval_point
private

Referenced by dfunc(), and operator()().

Multifunc const& core::optimization::func_1d::_func
private

Referenced by dfunc(), and operator()().

Multivec const core::optimization::func_1d::_search_direction
private

Referenced by dfunc(), func_1d(), and operator()().

Multivec const core::optimization::func_1d::_starting_point
private

Referenced by dfunc(), func_1d(), and operator()().


The documentation for this class was generated from the following files: