MUQ  0.4.3
muq::SamplingAlgorithms::ISKernel Class Reference

Importance sampling transition kernel. More...

#include <ISKernel.h>

Inheritance diagram for muq::SamplingAlgorithms::ISKernel:

Detailed Description

Importance sampling transition kernel.

Propose from a biasing distribution, compute the weight and return a state with those values

Definition at line 13 of file ISKernel.h.

Public Member Functions

 ISKernel (boost::property_tree::ptree const &pt, std::shared_ptr< SamplingProblem > problem)
 
 ~ISKernel ()
 
- Public Member Functions inherited from muq::SamplingAlgorithms::TransitionKernel
 TransitionKernel (boost::property_tree::ptree const &pt, std::shared_ptr< AbstractSamplingProblem > problem)
 
virtual ~TransitionKernel ()=default
 
virtual void SetCommunicator (std::shared_ptr< parcer::Communicator > newcomm)
 
virtual void PreStep (unsigned int const t, std::shared_ptr< SamplingState > state)
 Allow the kernel to preprocess the current step. More...
 
virtual void PostStep (unsigned int const t, std::vector< std::shared_ptr< SamplingState >> const &state)
 Allow the kernel to adapt given a new state. More...
 
virtual std::vector< std::shared_ptr< SamplingState > > Step (unsigned int const t, std::shared_ptr< SamplingState > prevState)=0
 
virtual void PrintStatus () const
 
virtual void PrintStatus (std::string prefix) const
 
virtual void SetBlockInd (int newBlockInd)
 
virtual int GetBlockInd () const
 
virtual std::shared_ptr< AbstractSamplingProblem > const & Problem () const
 

Additional Inherited Members

- Public Types inherited from muq::SamplingAlgorithms::TransitionKernel
typedef boost::function< std::shared_ptr< TransitionKernel >boost::property_tree::ptree, std::shared_ptr< AbstractSamplingProblem >)> TransitionKernelConstructor
 
typedef std::map< std::string, TransitionKernelConstructorTransitionKernelMap
 
- Static Public Member Functions inherited from muq::SamplingAlgorithms::TransitionKernel
static std::shared_ptr< TransitionKernelConstruct (boost::property_tree::ptree const &pt, std::shared_ptr< AbstractSamplingProblem > problem)
 Static constructor for the transition kernel. More...
 
static std::shared_ptr< TransitionKernelMapGetTransitionKernelMap ()
 

Constructor & Destructor Documentation

◆ ISKernel()

muq::SamplingAlgorithms::ISKernel::ISKernel ( boost::property_tree::ptree const &  pt,
std::shared_ptr< SamplingProblem problem 
)

◆ ~ISKernel()

ISKernel::~ISKernel ( )

Definition at line 11 of file ISKernel.cpp.

Member Function Documentation

◆ EvaluateImpl()

void ISKernel::EvaluateImpl ( muq::Modeling::ref_vector< boost::any > const &  inputs)
overrideprivatevirtual

Definition at line 13 of file ISKernel.cpp.

References muq::SamplingAlgorithms::TransitionKernel::problem.


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