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

#include <LineMinimizer.hh>

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

Public Member Functions

 ~LineMinimizationAlgorithm () override
 
 LineMinimizationAlgorithm (Multifunc const &score_fxn, Size dimension)
 
virtual Real operator() (Multivec &, Multivec &)
 
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

Multivec _stored_derivatives
 
Real _last_accepted_step
 
Real _func_to_beat
 
Real _deriv_sum
 
int _num_linemin_calls
 

Protected Attributes

Real const _tolerance
 
Multifunc const & _func
 
bool _nonmonotone
 
bool _silent
 

Constructor & Destructor Documentation

core::optimization::LineMinimizationAlgorithm::~LineMinimizationAlgorithm ( )
overridedefault

Auto-generated virtual destructor

core::optimization::LineMinimizationAlgorithm::LineMinimizationAlgorithm ( Multifunc const &  score_fxn,
Size  dimension 
)
inline

Member Function Documentation

Real core::optimization::LineMinimizationAlgorithm::cubic_interpolation ( Real  point1,
Real  func1,
Real  deriv1,
Real  point2,
Real  func2,
Real  deriv2 
)
void core::optimization::LineMinimizationAlgorithm::fetch_stored_derivatives ( Multivec get_derivs)
bool core::optimization::LineMinimizationAlgorithm::nonmonotone ( )
inline
virtual Real core::optimization::LineMinimizationAlgorithm::operator() ( Multivec ,
Multivec  
)
inlinevirtual
virtual bool core::optimization::LineMinimizationAlgorithm::provide_stored_derivatives ( )
inlinevirtual
Real core::optimization::LineMinimizationAlgorithm::quadratic_deriv_interpolation ( Real  point1,
Real  func1,
Real  deriv1,
Real  point2,
Real  func2,
Real  deriv2 
)
Real core::optimization::LineMinimizationAlgorithm::quadratic_interpolation ( Real  point1,
Real  func1,
Real  deriv1,
Real  point2,
Real  func2 
)
Real core::optimization::LineMinimizationAlgorithm::secant_interpolation ( Real  point1,
Real  deriv1,
Real  point2,
Real  deriv2 
)
bool core::optimization::LineMinimizationAlgorithm::silent ( )
inline

References _silent.

void core::optimization::LineMinimizationAlgorithm::silent ( bool  s_in)
inline

References _silent.

void core::optimization::LineMinimizationAlgorithm::store_current_derivatives ( Multivec curr_derivs)

Member Data Documentation

Real core::optimization::LineMinimizationAlgorithm::_deriv_sum
Multifunc const& core::optimization::LineMinimizationAlgorithm::_func
protected
Real core::optimization::LineMinimizationAlgorithm::_func_to_beat
Real core::optimization::LineMinimizationAlgorithm::_last_accepted_step
bool core::optimization::LineMinimizationAlgorithm::_nonmonotone
protected
int core::optimization::LineMinimizationAlgorithm::_num_linemin_calls
bool core::optimization::LineMinimizationAlgorithm::_silent
protected

Referenced by silent().

Multivec core::optimization::LineMinimizationAlgorithm::_stored_derivatives
Real const core::optimization::LineMinimizationAlgorithm::_tolerance
protected

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