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 Member Functions | Private Attributes | List of all members
MoochoPack::LineSearchFailureNewDecompositionSelection_Step Class Reference

Directs the selection of a new decomposition if the line search fails. More...

#include <MoochoPack_LineSearchFailureNewDecompositionSelection_Step.hpp>

Inheritance diagram for MoochoPack::LineSearchFailureNewDecompositionSelection_Step:
Inheritance graph
[legend]

Public Member Functions

 STANDARD_COMPOSITION_MEMBERS (IterationPack::AlgorithmStep, line_search_step)
 <<std comp>="">> members for LineSearch object. More...
 
 STANDARD_COMPOSITION_MEMBERS (NewDecompositionSelection_Strategy, new_decomp_strategy)
 <<std comp>="">> members for Decomposition Select Strategy object. More...
 
 LineSearchFailureNewDecompositionSelection_Step (const line_search_step_ptr_t &line_search_step, const new_decomp_strategy_ptr_t &new_decomp_strategy)
 
- Public Member Functions inherited from IterationPack::AlgorithmStep
virtual ~AlgorithmStep ()
 
virtual void initialize_step (Algorithm &algo, poss_type step_poss, EDoStepType type, poss_type assoc_step_poss)
 Called by Algorithm just before the algorithm is run. More...
 
virtual void inform_updated (Algorithm &algo, poss_type step_poss, EDoStepType type, poss_type assoc_step_poss)
 Called by Algorithm to inform when a runtime configuration change is finihed. More...
 
virtual void finalize_step (Algorithm &algo, poss_type step_poss, EDoStepType type, poss_type assoc_step_poss)
 Called by Algorithm just after an algorithm is terminiated. More...
 

Private Member Functions

 LineSearchFailureNewDecompositionSelection_Step ()
 
 LineSearchFailureNewDecompositionSelection_Step (const LineSearchFailureNewDecompositionSelection_Step &)
 
LineSearchFailureNewDecompositionSelection_Stepoperator= (const LineSearchFailureNewDecompositionSelection_Step &)
 

Private Attributes

int last_ls_failure_k_
 

Overridden from AlgorithmStep

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
 

Additional Inherited Members

- Public Types inherited from IterationPack::AlgorithmStep
typedef size_t poss_type
 

Detailed Description

Directs the selection of a new decomposition if the line search fails.

If the delegated line search Step object throws a LineSearchFailure exception, then this object directs the selection of a new decomposition. If the very next iteration also results in a linesearch failure then we must quit.

Definition at line 58 of file MoochoPack_LineSearchFailureNewDecompositionSelection_Step.hpp.

Constructor & Destructor Documentation

MoochoPack::LineSearchFailureNewDecompositionSelection_Step::LineSearchFailureNewDecompositionSelection_Step ( const line_search_step_ptr_t &  line_search_step,
const new_decomp_strategy_ptr_t &  new_decomp_strategy 
)
MoochoPack::LineSearchFailureNewDecompositionSelection_Step::LineSearchFailureNewDecompositionSelection_Step ( )
private
MoochoPack::LineSearchFailureNewDecompositionSelection_Step::LineSearchFailureNewDecompositionSelection_Step ( const LineSearchFailureNewDecompositionSelection_Step )
private

Member Function Documentation

MoochoPack::LineSearchFailureNewDecompositionSelection_Step::STANDARD_COMPOSITION_MEMBERS ( IterationPack::AlgorithmStep  ,
line_search_step   
)

<<std comp>="">> members for LineSearch object.

MoochoPack::LineSearchFailureNewDecompositionSelection_Step::STANDARD_COMPOSITION_MEMBERS ( NewDecompositionSelection_Strategy  ,
new_decomp_strategy   
)

<<std comp>="">> members for Decomposition Select Strategy object.

bool MoochoPack::LineSearchFailureNewDecompositionSelection_Step::do_step ( Algorithm algo,
poss_type  step_poss,
IterationPack::EDoStepType  type,
poss_type  assoc_step_poss 
)
virtual
void MoochoPack::LineSearchFailureNewDecompositionSelection_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
virtual
LineSearchFailureNewDecompositionSelection_Step& MoochoPack::LineSearchFailureNewDecompositionSelection_Step::operator= ( const LineSearchFailureNewDecompositionSelection_Step )
private

Member Data Documentation

int MoochoPack::LineSearchFailureNewDecompositionSelection_Step::last_ls_failure_k_
private

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