Single-level MCMC for multiindex sampling problems. More...
#include <SLMCMC.h>
Single-level MCMC for multiindex sampling problems.
A wrapper generating a single-chain MCMC based on the finest problem of a multiindex sampling problem. This is mostly needed for computing reference solutions to multilevel/multiindex MCMC methods.
Public Member Functions | |
SLMCMC (pt::ptree pt, std::shared_ptr< MIComponentFactory > componentFactory, std::shared_ptr< MultiIndex > index) | |
SLMCMC (pt::ptree pt, std::shared_ptr< MIComponentFactory > componentFactory) | |
virtual std::shared_ptr< MarkovChain > | GetSamples () const |
virtual std::shared_ptr< MarkovChain > | GetQOIs () const |
Eigen::VectorXd | MeanQOI () |
Eigen::VectorXd | MeanParameter () |
void | WriteToFile (std::string filename) |
virtual std::shared_ptr< MarkovChain > | Run () |
muq::SamplingAlgorithms::SLMCMC::SLMCMC | ( | pt::ptree | pt, |
std::shared_ptr< MIComponentFactory > | componentFactory, | ||
std::shared_ptr< MultiIndex > | index | ||
) |
Definition at line 6 of file SLMCMC.cpp.
References componentFactory, and single_chain.
muq::SamplingAlgorithms::SLMCMC::SLMCMC | ( | pt::ptree | pt, |
std::shared_ptr< MIComponentFactory > | componentFactory | ||
) |
Definition at line 29 of file SLMCMC.cpp.
|
virtual |
|
virtual |
Definition at line 32 of file SLMCMC.cpp.
References single_chain.
Eigen::VectorXd muq::SamplingAlgorithms::SLMCMC::MeanParameter | ( | ) |
Eigen::VectorXd muq::SamplingAlgorithms::SLMCMC::MeanQOI | ( | ) |
|
virtual |
void muq::SamplingAlgorithms::SLMCMC::WriteToFile | ( | std::string | filename | ) |
Definition at line 43 of file SLMCMC.cpp.
References muq::SamplingAlgorithms::QOI, and single_chain.
|
private |
|
private |
Definition at line 45 of file SLMCMC.h.
Referenced by GetQOIs(), GetSamples(), Run(), SLMCMC(), and WriteToFile().