queso-0.57.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
QUESO::TKFactoryRandomWalk< DerivedTK > Class Template Reference

#include <TKFactoryRandomWalk.h>

Inheritance diagram for QUESO::TKFactoryRandomWalk< DerivedTK >:
QUESO::TransitionKernelFactory QUESO::Factory< BaseTKGroup< GslVector, GslMatrix > >

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>
virtual SharedPtr<BaseTKGroup<GslVector, GslMatrix> >::Type QUESO::TKFactoryRandomWalk< DerivedTK >::build_tk ( )
inlineprotectedvirtual

Implements QUESO::TransitionKernelFactory.

Definition at line 55 of file TKFactoryRandomWalk.h.

References QUESO::TransitionKernelFactory::m_dr_scales, QUESO::TransitionKernelFactory::m_initial_cov_matrix, QUESO::TransitionKernelFactory::m_options, QUESO::MhOptionsValues::m_prefix, and QUESO::TransitionKernelFactory::m_vectorSpace.

56  {
58 
59  new_tk.reset(new DerivedTK(this->m_options->m_prefix.c_str(),
60  *(this->m_vectorSpace),
61  *(this->m_dr_scales),
62  *(this->m_initial_cov_matrix)));
63 
64  return new_tk;
65  }
static const MhOptionsValues * m_options
std::string m_prefix
Prefix for input file option names. Prepends all options for this class.
Definition of a shared pointer.
static const VectorSpace< GslVector, GslMatrix > * m_vectorSpace
static const std::vector< double > * m_dr_scales

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

Generated on Tue Jun 5 2018 19:49:13 for queso-0.57.1 by  doxygen 1.8.5