MoochoPack : Framework for Large-Scale Optimization Algorithms  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | 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())
 
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
 

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

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


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