MoochoPack : Framework for Large-Scale Optimization Algorithms
Version of the Day
|
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 |
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.
|
inline |
Definition at line 64 of file MoochoPack_LineSearchFullStepAfterKIter_Step.hpp.
MoochoPack::LineSearchFullStepAfterKIter_Step::STANDARD_COMPOSITION_MEMBERS | ( | LineSearch_Step | , |
line_search | |||
) |
<<std comp>="">> members for the line search step
|
inline |
Definition at line 76 of file MoochoPack_LineSearchFullStepAfterKIter_Step.hpp.
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 |