queso-0.56.1
Public Member Functions | Protected Member Functions | List of all members
QUESO::TKFactoryRandomWalk< DerivedTK > Class Template Reference

#include <TKFactoryRandomWalk.h>

Inheritance diagram for QUESO::TKFactoryRandomWalk< DerivedTK >:
Inheritance graph
[legend]
Collaboration diagram for QUESO::TKFactoryRandomWalk< DerivedTK >:
Collaboration graph
[legend]

Public Member Functions

 TKFactoryRandomWalk (const std::string &name)
 
virtual ~TKFactoryRandomWalk ()
 
- Public Member Functions inherited from QUESO::TransitionKernelFactory
 TransitionKernelFactory (const std::string &name)
 
virtual ~TransitionKernelFactory ()
 
- Public Member Functions inherited from QUESO::Factory< BaseTKGroup< GslVector, GslMatrix > >
virtual ~Factory ()
 

Protected Member Functions

virtual SharedPtr< BaseTKGroup
< GslVector, GslMatrix >
>::Type 
build_tk ()
 
- Protected Member Functions inherited from QUESO::Factory< BaseTKGroup< GslVector, GslMatrix > >
 Factory (const std::string &name)
 

Additional Inherited Members

- Static Public Member Functions inherited from QUESO::TransitionKernelFactory
static void set_vectorspace (const VectorSpace< GslVector, GslMatrix > &v)
 
static void set_dr_scales (const std::vector< double > &scales)
 
static void set_pdf_synchronizer (const ScalarFunctionSynchronizer< GslVector, GslMatrix > &synchronizer)
 
static void set_initial_cov_matrix (GslMatrix &cov_matrix)
 
static void set_options (const MhOptionsValues &options)
 
static void set_target_pdf (const BaseJointPdf< GslVector, GslMatrix > &target_pdf)
 
- Static Public Member Functions inherited from QUESO::Factory< BaseTKGroup< GslVector, GslMatrix > >
static SharedPtr< BaseTKGroup
< GslVector, GslMatrix >
>::Type 
build (const std::string &name)
 
- Static Protected Member Functions inherited from QUESO::Factory< BaseTKGroup< GslVector, GslMatrix > >
static std::map< std::string,
Factory< BaseTKGroup
< GslVector, GslMatrix > > * > & 
factory_map ()
 
- Static Protected Attributes inherited from QUESO::TransitionKernelFactory
static const VectorSpace
< GslVector, GslMatrix > * 
m_vectorSpace = NULL
 
static const std::vector
< double > * 
m_dr_scales = NULL
 
static const
ScalarFunctionSynchronizer
< GslVector, GslMatrix > * 
m_pdf_synchronizer = NULL
 
static GslMatrixm_initial_cov_matrix = NULL
 
static const MhOptionsValuesm_options = NULL
 
static const BaseJointPdf
< GslVector, GslMatrix > * 
m_target_pdf = NULL
 

Detailed Description

template<class DerivedTK>
class QUESO::TKFactoryRandomWalk< DerivedTK >

TKFactoryRandomWalk class defintion. Implements a factory for random-walk type transition kernels. Supports delayed rejection.

Definition at line 39 of file TKFactoryRandomWalk.h.

Constructor & Destructor Documentation

template<class DerivedTK>
QUESO::TKFactoryRandomWalk< DerivedTK >::TKFactoryRandomWalk ( const std::string &  name)
inline

Constructor. Takes the name to be mapped.

Definition at line 45 of file TKFactoryRandomWalk.h.

47  {}
TransitionKernelFactory(const std::string &name)
template<class DerivedTK>
virtual QUESO::TKFactoryRandomWalk< DerivedTK >::~TKFactoryRandomWalk ( )
inlinevirtual

Destructor. (Empty.)

Definition at line 52 of file TKFactoryRandomWalk.h.

52 {}

Member Function Documentation

template<class DerivedTK >
SharedPtr< BaseTKGroup< GslVector, GslMatrix > >::Type QUESO::TKFactoryRandomWalk< DerivedTK >::build_tk ( )
protectedvirtual

Implements QUESO::TransitionKernelFactory.

Definition at line 33 of file TKFactoryRandomWalk.C.

34 {
35  SharedPtr<BaseTKGroup<GslVector, GslMatrix> >::Type new_tk;
36 
37  new_tk.reset(new DerivedTK(this->m_options->m_prefix.c_str(),
38  *(this->m_vectorSpace),
39  *(this->m_dr_scales),
40  *(this->m_initial_cov_matrix)));
41 
42  return new_tk;
43 }
static const MhOptionsValues * m_options
std::string m_prefix
Prefix for input file option names. Prepends all options for this class.
static const std::vector< double > * m_dr_scales
static const VectorSpace< GslVector, GslMatrix > * m_vectorSpace

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

Generated on Thu Dec 15 2016 13:23:13 for queso-0.56.1 by  doxygen 1.8.5