MOOCHO (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
MoochoPack::LineSearchFullStepAfterKIter_Step Class Reference

Changes from a line search step to just taking full steps after full_steps_after_k iterations. More...

#include <MoochoPack_LineSearchFullStepAfterKIter_Step.hpp>

Inherits LineSearch_Step.

Public Member Functions

 STANDARD_COMPOSITION_MEMBERS (LineSearch_Step, line_search)
 <<std comp>="">> members for the line search step More...
 
 LineSearchFullStepAfterKIter_Step (const line_search_ptr_t &line_search=0, int full_steps_after_k=std::numeric_limits< int >::max())
 
void full_steps_after_k (int full_steps_after_k)
 
value_type full_steps_after_k () const
 
bool do_step (Algorithm &algo, poss_type step_poss, IterationPack::EDoStepType type, poss_type assoc_step_poss)
 
void print_step (const Algorithm &algo, poss_type step_poss, IterationPack::EDoStepType type, poss_type assoc_step_poss, std::ostream &out, const std::string &leading_str) const
 

Private Attributes

int full_steps_after_k_
 

Detailed Description

Changes from a line search step to just taking full steps after full_steps_after_k iterations.

Definition at line 57 of file MoochoPack_LineSearchFullStepAfterKIter_Step.hpp.

Constructor & Destructor Documentation

MoochoPack::LineSearchFullStepAfterKIter_Step::LineSearchFullStepAfterKIter_Step ( const line_search_ptr_t &  line_search = 0,
int  full_steps_after_k = std::numeric_limits<int>::max() 
)
inline

Member Function Documentation

MoochoPack::LineSearchFullStepAfterKIter_Step::STANDARD_COMPOSITION_MEMBERS ( LineSearch_Step  ,
line_search   
)

<<std comp>="">> members for the line search step

void MoochoPack::LineSearchFullStepAfterKIter_Step::full_steps_after_k ( int  full_steps_after_k)
inline
value_type MoochoPack::LineSearchFullStepAfterKIter_Step::full_steps_after_k ( ) const
inline
bool MoochoPack::LineSearchFullStepAfterKIter_Step::do_step ( Algorithm algo,
poss_type  step_poss,
IterationPack::EDoStepType  type,
poss_type  assoc_step_poss 
)

void MoochoPack::LineSearchFullStepAfterKIter_Step::print_step ( const Algorithm algo,
poss_type  step_poss,
IterationPack::EDoStepType  type,
poss_type  assoc_step_poss,
std::ostream &  out,
const std::string &  leading_str 
) const

Member Data Documentation

int MoochoPack::LineSearchFullStepAfterKIter_Step::full_steps_after_k_
private

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