MUQ  0.4.3
MCMCFactory.cpp
Go to the documentation of this file.
2 
3 namespace pt = boost::property_tree;
4 using namespace muq::Modeling;
5 using namespace muq::SamplingAlgorithms;
6 
7 std::shared_ptr<SingleChainMCMC>
8 MCMCFactory::CreateSingleChain(pt::ptree pt,
9  std::shared_ptr<AbstractSamplingProblem> problem) {
10  std::shared_ptr<SingleChainMCMC> singleChain = std::make_shared<SingleChainMCMC>(pt, problem);
11 
12  return singleChain;
13 }