MUQ  0.4.3
ISKernel.h
Go to the documentation of this file.
1 #ifndef ISKERNEL_H_
2 #define ISKERNEL_H_
3 
5 
6 namespace muq {
7  namespace SamplingAlgorithms {
8 
10 
13  class ISKernel : public TransitionKernel {
14  public:
15 
16  ISKernel(boost::property_tree::ptree const& pt, std::shared_ptr<SamplingProblem> problem);
17 
18  ~ISKernel();
19 
20  private:
21 
22  virtual void EvaluateImpl(muq::Modeling::ref_vector<boost::any> const& inputs) override;
23 
24  };
25 
26  } // namespace SamplingAlgorithms
27 } // namespace muq
28 
29 
30 #endif
Importance sampling transition kernel.
Definition: ISKernel.h:13
virtual void EvaluateImpl(muq::Modeling::ref_vector< boost::any > const &inputs) override
Definition: ISKernel.cpp:13
ISKernel(boost::property_tree::ptree const &pt, std::shared_ptr< SamplingProblem > problem)
Defines the transition kernel used by an MCMC algorithm.
std::shared_ptr< AbstractSamplingProblem > problem
The sampling problem that evaluates/samples the target distribution.
std::vector< std::reference_wrapper< const T > > ref_vector
A vector of references to something ...
Definition: WorkPiece.h:37