MUQ  0.4.3
MCKernel.h
Go to the documentation of this file.
1 #ifndef MCKERNEL_H_
2 #define MCKERNEL_H_
3 
5 
6 namespace muq {
7  namespace SamplingAlgorithms {
9 
12  class MCKernel : public TransitionKernel {
13  public:
14 
15  MCKernel(boost::property_tree::ptree const& pt, std::shared_ptr<SamplingProblem> problem);
16 
17  virtual ~MCKernel() = default;
18 
19  virtual std::vector<std::shared_ptr<SamplingState>> Step(std::shared_ptr<SamplingState> prevState) override;
20 
21  private:
22 
24  //const unsigned int N;
25  };
26  } // namespace SamplingAlgorithms
27 } // namespace muq
28 
29 #endif
Monte Carlo transition kernel.
Definition: MCKernel.h:12
virtual std::vector< std::shared_ptr< SamplingState > > Step(std::shared_ptr< SamplingState > prevState) override
Definition: MCKernel.cpp:11
MCKernel(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.