1 #ifndef SUBSAMPLINGMIPROPOSAL_H
2 #define SUBSAMPLINGMIPROPOSAL_H
4 #include <boost/property_tree/ptree.hpp>
10 namespace pt = boost::property_tree;
13 namespace SamplingAlgorithms {
22 SubsamplingMIProposal (pt::ptree
const& pt, std::shared_ptr<AbstractSamplingProblem>
prob, std::shared_ptr<muq::Utilities::MultiIndex> coarseIndex, std::shared_ptr<SingleChainMCMC>
coarseChain);
24 virtual std::shared_ptr<SamplingState>
Sample(std::shared_ptr<SamplingState>
const& currentState)
override;
26 virtual double LogDensity(std::shared_ptr<SamplingState>
const& currState,
27 std::shared_ptr<SamplingState>
const& propState)
override;
std::shared_ptr< AbstractSamplingProblem > prob
Subsampling Multiindex proposal.
std::shared_ptr< SingleChainMCMC > coarseChain
virtual std::shared_ptr< SamplingState > Sample(std::shared_ptr< SamplingState > const ¤tState) override
virtual double LogDensity(std::shared_ptr< SamplingState > const &currState, std::shared_ptr< SamplingState > const &propState) override
SubsamplingMIProposal(pt::ptree const &pt, std::shared_ptr< AbstractSamplingProblem > prob, std::shared_ptr< muq::Utilities::MultiIndex > coarseIndex, std::shared_ptr< SingleChainMCMC > coarseChain)
std::string multiindexToConfigString(std::shared_ptr< muq::Utilities::MultiIndex > index)