11 #include <boost/property_tree/ptree.hpp>
16 namespace pt = boost::property_tree;
20 namespace SamplingAlgorithms {
32 MIMCMCBox(std::shared_ptr<MIComponentFactory> componentFactory,
33 std::shared_ptr<MultiIndex> boxHighestIndex);
37 Eigen::VectorXd MeanParam();
39 Eigen::VectorXd MeanQOI();
41 void DrawChain(std::shared_ptr<SingleChainMCMC> chain, std::string chainid, std::ofstream& graphfile)
const;
43 void Draw(std::ofstream& graphfile,
bool drawSamples =
true)
const;
45 std::shared_ptr<SingleChainMCMC> FinestChain();
47 std::shared_ptr<SingleChainMCMC> GetChain(std::shared_ptr<MultiIndex> index);
49 std::shared_ptr<MultiIndexSet> GetBoxIndices();
51 std::shared_ptr<AbstractSamplingProblem> GetFinestProblem();
53 std::shared_ptr<MultiIndex> GetHighestIndex();
54 std::shared_ptr<MultiIndex> GetLowestIndex();
56 std::shared_ptr<SampleCollection> GetQOIDiff();
58 void WriteToFile(std::string filename);
63 std::shared_ptr<MultiIndexSet> CreateRootPath(std::shared_ptr<MultiIndex> index);
65 std::shared_ptr<SampleCollection>
QOIDiff;
71 std::vector<std::shared_ptr<SingleChainMCMC>>
boxChains;
72 std::vector<std::shared_ptr<SingleChainMCMC>>
tailChains;
Representation of a Multiindex MCMC telescoping sum component.
std::shared_ptr< SampleCollection > QOIDiff
std::shared_ptr< AbstractSamplingProblem > finestProblem
std::shared_ptr< MultiIndexSet > boxIndices
std::shared_ptr< MultiIndex > boxHighestIndex
std::shared_ptr< MIComponentFactory > componentFactory
std::vector< std::shared_ptr< SingleChainMCMC > > tailChains
std::vector< std::shared_ptr< SingleChainMCMC > > boxChains
std::shared_ptr< MultiIndex > boxLowestIndex