Multiindex MCMC method. More...
#include <MIMCMC.h>
Multiindex MCMC method.
A basic MIMCMC method based on a fixed number of samples for all model indices.
Public Member Functions | |
MIMCMC (boost::property_tree::ptree options, std::shared_ptr< MIComponentFactory > const &componentFactory) | |
MIMCMC (boost::property_tree::ptree pt, Eigen::VectorXd const &startPt, std::vector< std::shared_ptr< muq::Modeling::ModPiece >> const &models, std::shared_ptr< MultiIndexSet > const &multis=nullptr) | |
MIMCMC (boost::property_tree::ptree pt, Eigen::VectorXd const &startPt, std::vector< std::shared_ptr< AbstractSamplingProblem >> const &problems, std::shared_ptr< MultiIndexSet > const &multis=nullptr) | |
virtual std::shared_ptr< MultiIndexEstimator > | GetSamples () const |
virtual std::shared_ptr< MultiIndexEstimator > | GetQOIs () const |
std::shared_ptr< MIMCMCBox > | GetBox (std::shared_ptr< MultiIndex > index) |
Access an MIMCMCBox. More... | |
void | Draw (bool drawSamples=true) |
Draw MI structure (mostly debugging purposes) More... | |
std::shared_ptr< MIMCMCBox > | GetMIMCMCBox (std::shared_ptr< MultiIndex > index) |
std::shared_ptr< MultiIndexSet > | GetIndices () |
Get set of indices of boxes set up by the method. More... | |
virtual std::shared_ptr< MultiIndexEstimator > | Run () |
void | WriteToFile (std::string filename) |
Write HDF5 output for the entire MIMCMC method. More... | |
muq::SamplingAlgorithms::MIMCMC::MIMCMC | ( | boost::property_tree::ptree | options, |
std::shared_ptr< MIComponentFactory > const & | componentFactory | ||
) |
MIMCMC::MIMCMC | ( | boost::property_tree::ptree | pt, |
Eigen::VectorXd const & | startPt, | ||
std::vector< std::shared_ptr< muq::Modeling::ModPiece >> const & | models, | ||
std::shared_ptr< MultiIndexSet > const & | multis = nullptr |
||
) |
Definition at line 7 of file MIMCMC.cpp.
MIMCMC::MIMCMC | ( | boost::property_tree::ptree | pt, |
Eigen::VectorXd const & | startPt, | ||
std::vector< std::shared_ptr< AbstractSamplingProblem >> const & | problems, | ||
std::shared_ptr< MultiIndexSet > const & | multis = nullptr |
||
) |
Definition at line 15 of file MIMCMC.cpp.
|
staticprivate |
Definition at line 115 of file MIMCMC.cpp.
void MIMCMC::Draw | ( | bool | drawSamples = true | ) |
Draw MI structure (mostly debugging purposes)
Definition at line 92 of file MIMCMC.cpp.
References boxes.
std::shared_ptr< MIMCMCBox > MIMCMC::GetBox | ( | std::shared_ptr< MultiIndex > | index | ) |
std::shared_ptr< MultiIndexSet > MIMCMC::GetIndices | ( | ) |
Get set of indices of boxes set up by the method.
Definition at line 79 of file MIMCMC.cpp.
References gridIndices.
std::shared_ptr< MIMCMCBox > MIMCMC::GetMIMCMCBox | ( | std::shared_ptr< MultiIndex > | index | ) |
Definition at line 64 of file MIMCMC.cpp.
References boxes.
|
virtual |
|
virtual |
|
private |
Definition at line 84 of file MIMCMC.cpp.
Referenced by Run().
|
staticprivate |
Definition at line 105 of file MIMCMC.cpp.
|
virtual |
Definition at line 52 of file MIMCMC.cpp.
References boxes, GetSamples(), multiindexToConfigString(), and pt.
Referenced by main().
void MIMCMC::WriteToFile | ( | std::string | filename | ) |
Write HDF5 output for the entire MIMCMC method.
Definition at line 72 of file MIMCMC.cpp.
References boxes.
Referenced by main().
|
private |
Definition at line 71 of file MIMCMC.h.
Referenced by Draw(), GetBox(), GetMIMCMCBox(), GetQOIs(), GetSamples(), Run(), and WriteToFile().
|
private |
|
private |
Definition at line 69 of file MIMCMC.h.
Referenced by GetIndices().
|
private |