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

#include <LineMinimizer.hh>

Inheritance diagram for core::optimization::BrentLineMinimization:
Inheritance graph
[legend]

Public Member Functions

 BrentLineMinimization (Multifunc const &score_fxn, Size dim)
 
Real operator() (Multivec &curr_pos, Multivec &curr_dir) override
 
void set_deriv_cutoff (core::Real const &val)
 
void MNBRAK (Real &AX, Real &BX, Real &CX, Real &FA, Real &FB, Real &FC, func_1d &func_eval) const
 
Real BRENT (Real const AX, Real const BX, Real const CX, Real &FA, Real &FB, Real const FC, Real const TOL, func_1d &func_eval)
 
- Public Member Functions inherited from core::optimization::LineMinimizationAlgorithm
 ~LineMinimizationAlgorithm () override
 
 LineMinimizationAlgorithm (Multifunc const &score_fxn, Size dimension)
 
virtual bool provide_stored_derivatives ()
 
bool nonmonotone ()
 
void store_current_derivatives (Multivec &curr_derivs)
 
void fetch_stored_derivatives (Multivec &get_derivs)
 
Real quadratic_interpolation (Real point1, Real func1, Real deriv1, Real point2, Real func2)
 
Real quadratic_deriv_interpolation (Real point1, Real func1, Real deriv1, Real point2, Real func2, Real deriv2)
 
Real secant_interpolation (Real point1, Real deriv1, Real point2, Real deriv2)
 
Real cubic_interpolation (Real point1, Real func1, Real deriv1, Real point2, Real func2, Real deriv2)
 
bool silent ()
 
void silent (bool s_in)
 

Public Attributes

Real _ax
 
Real _bx
 
Real _xx
 
Real _abs_tolerance
 
Real deriv_cutoff_
 
- Public Attributes inherited from core::optimization::LineMinimizationAlgorithm
Multivec _stored_derivatives
 
Real _last_accepted_step
 
Real _func_to_beat
 
Real _deriv_sum
 
int _num_linemin_calls
 

Additional Inherited Members

- Protected Attributes inherited from core::optimization::LineMinimizationAlgorithm
Real const _tolerance
 
Multifunc const & _func
 
bool _nonmonotone
 
bool _silent
 

Constructor & Destructor Documentation

core::optimization::BrentLineMinimization::BrentLineMinimization ( Multifunc const &  score_fxn,
Size  dim 
)
inline

Member Function Documentation

Real core::optimization::BrentLineMinimization::BRENT ( Real const  AX,
Real const  BX,
Real const  CX,
Real FA,
Real FB,
Real const  FC,
Real const  TOL,
func_1d func_eval 
)
void core::optimization::BrentLineMinimization::MNBRAK ( Real AX,
Real BX,
Real CX,
Real FA,
Real FB,
Real FC,
func_1d func_eval 
) const
Real core::optimization::BrentLineMinimization::operator() ( Multivec curr_pos,
Multivec curr_dir 
)
overridevirtual

Reimplemented from core::optimization::LineMinimizationAlgorithm.

References XX.

void core::optimization::BrentLineMinimization::set_deriv_cutoff ( core::Real const &  val)
inline

Member Data Documentation

Real core::optimization::BrentLineMinimization::_abs_tolerance
Real core::optimization::BrentLineMinimization::_ax
Real core::optimization::BrentLineMinimization::_bx
Real core::optimization::BrentLineMinimization::_xx
Real core::optimization::BrentLineMinimization::deriv_cutoff_

Referenced by set_deriv_cutoff().


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