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:

[legend]
List of all members.

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
 

Public Types

typedef Teuchos::RefCountPtr<
IterationPack::AlgorithmStep
line_search_step_ptr_t
typedef Teuchos::RefCountPtr<
NewDecompositionSelection_Strategy
new_decomp_strategy_ptr_t

Public Member Functions

void set_line_search_step (const Teuchos::RefCountPtr< IterationPack::AlgorithmStep > &line_search_step)
 <<std comp="">> members for LineSearch object.
Teuchos::RefCountPtr< IterationPack::AlgorithmStepget_line_search_step () const
IterationPack::AlgorithmStepline_search_step ()
const IterationPack::AlgorithmStepline_search_step () const
void set_new_decomp_strategy (const Teuchos::RefCountPtr< NewDecompositionSelection_Strategy > &new_decomp_strategy)
 <<std comp="">> members for Decomposition Select Strategy object.
Teuchos::RefCountPtr< NewDecompositionSelection_Strategyget_new_decomp_strategy () const
NewDecompositionSelection_Strategynew_decomp_strategy ()
const NewDecompositionSelection_Strategynew_decomp_strategy () const
 LineSearchFailureNewDecompositionSelection_Step (const line_search_step_ptr_t &line_search_step, const new_decomp_strategy_ptr_t &new_decomp_strategy)
 

Private Member Functions

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

Private Attributes

Teuchos::RefCountPtr< IterationPack::AlgorithmStepline_search_step_
Teuchos::RefCountPtr< NewDecompositionSelection_Strategynew_decomp_strategy_
int last_ls_failure_k_

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 45 of file MoochoPack_LineSearchFailureNewDecompositionSelection_Step.hpp.


Member Typedef Documentation

typedef Teuchos::RefCountPtr< IterationPack::AlgorithmStep > MoochoPack::LineSearchFailureNewDecompositionSelection_Step::line_search_step_ptr_t
 

Definition at line 51 of file MoochoPack_LineSearchFailureNewDecompositionSelection_Step.hpp.

typedef Teuchos::RefCountPtr< NewDecompositionSelection_Strategy > MoochoPack::LineSearchFailureNewDecompositionSelection_Step::new_decomp_strategy_ptr_t
 

Definition at line 54 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
 

Definition at line 40 of file MoochoPack_LineSearchFailureNewDecompositionSelection_Step.cpp.

MoochoPack::LineSearchFailureNewDecompositionSelection_Step::LineSearchFailureNewDecompositionSelection_Step  )  [private]
 

MoochoPack::LineSearchFailureNewDecompositionSelection_Step::LineSearchFailureNewDecompositionSelection_Step const LineSearchFailureNewDecompositionSelection_Step  )  [private]
 


Member Function Documentation

void MoochoPack::LineSearchFailureNewDecompositionSelection_Step::set_line_search_step const Teuchos::RefCountPtr< IterationPack::AlgorithmStep > &  line_search_step  )  [inline]
 

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

Definition at line 51 of file MoochoPack_LineSearchFailureNewDecompositionSelection_Step.hpp.

Teuchos::RefCountPtr< IterationPack::AlgorithmStep > MoochoPack::LineSearchFailureNewDecompositionSelection_Step::get_line_search_step  )  const [inline]
 

Definition at line 51 of file MoochoPack_LineSearchFailureNewDecompositionSelection_Step.hpp.

IterationPack::AlgorithmStep& MoochoPack::LineSearchFailureNewDecompositionSelection_Step::line_search_step  )  [inline]
 

Definition at line 51 of file MoochoPack_LineSearchFailureNewDecompositionSelection_Step.hpp.

const IterationPack::AlgorithmStep& MoochoPack::LineSearchFailureNewDecompositionSelection_Step::line_search_step  )  const [inline]
 

Definition at line 51 of file MoochoPack_LineSearchFailureNewDecompositionSelection_Step.hpp.

void MoochoPack::LineSearchFailureNewDecompositionSelection_Step::set_new_decomp_strategy const Teuchos::RefCountPtr< NewDecompositionSelection_Strategy > &  new_decomp_strategy  )  [inline]
 

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

Definition at line 54 of file MoochoPack_LineSearchFailureNewDecompositionSelection_Step.hpp.

Teuchos::RefCountPtr< NewDecompositionSelection_Strategy > MoochoPack::LineSearchFailureNewDecompositionSelection_Step::get_new_decomp_strategy  )  const [inline]
 

Definition at line 54 of file MoochoPack_LineSearchFailureNewDecompositionSelection_Step.hpp.

NewDecompositionSelection_Strategy& MoochoPack::LineSearchFailureNewDecompositionSelection_Step::new_decomp_strategy  )  [inline]
 

Definition at line 54 of file MoochoPack_LineSearchFailureNewDecompositionSelection_Step.hpp.

const NewDecompositionSelection_Strategy& MoochoPack::LineSearchFailureNewDecompositionSelection_Step::new_decomp_strategy  )  const [inline]
 

Definition at line 54 of file MoochoPack_LineSearchFailureNewDecompositionSelection_Step.hpp.

bool MoochoPack::LineSearchFailureNewDecompositionSelection_Step::do_step Algorithm algo,
poss_type  step_poss,
IterationPack::EDoStepType  type,
poss_type  assoc_step_poss
 

Definition at line 49 of file MoochoPack_LineSearchFailureNewDecompositionSelection_Step.cpp.

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
 

Definition at line 89 of file MoochoPack_LineSearchFailureNewDecompositionSelection_Step.cpp.

LineSearchFailureNewDecompositionSelection_Step& MoochoPack::LineSearchFailureNewDecompositionSelection_Step::operator= const LineSearchFailureNewDecompositionSelection_Step  )  [private]
 


Member Data Documentation

Teuchos::RefCountPtr< IterationPack::AlgorithmStep > MoochoPack::LineSearchFailureNewDecompositionSelection_Step::line_search_step_ [private]
 

Definition at line 51 of file MoochoPack_LineSearchFailureNewDecompositionSelection_Step.hpp.

Teuchos::RefCountPtr< NewDecompositionSelection_Strategy > MoochoPack::LineSearchFailureNewDecompositionSelection_Step::new_decomp_strategy_ [private]
 

Definition at line 54 of file MoochoPack_LineSearchFailureNewDecompositionSelection_Step.hpp.

int MoochoPack::LineSearchFailureNewDecompositionSelection_Step::last_ls_failure_k_ [private]
 

Definition at line 74 of file MoochoPack_LineSearchFailureNewDecompositionSelection_Step.hpp.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:36:20 2008 for MOOCHO (Single Doxygen Collection) by doxygen 1.3.9.1