3 namespace SamplingAlgorithms {
7 coarseChain(coarseChain),
8 subsampling(pt.
get<int>(
"MLMCMC.Subsampling" + multiindexToConfigString(coarseIndex)))
23 std::shared_ptr<SamplingState>
const& propState) {
28 std::stringstream strs;
29 for (
int i = 0; i < index->GetLength(); i++) {
30 strs <<
"_" << index->GetValue(i);
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)
auto get(const nlohmann::detail::iteration_proxy_value< IteratorType > &i) -> decltype(i.key())