9 namespace SamplingAlgorithms {
24 std::shared_ptr<AbstractSamplingProblem>
prob);
27 std::shared_ptr<AbstractSamplingProblem>
prob,
28 std::shared_ptr<muq::Modeling::GaussianBase> proposalIn);
35 std::shared_ptr<muq::Modeling::GaussianBase>
proposal;
37 virtual std::shared_ptr<SamplingState>
Sample(std::shared_ptr<SamplingState>
const& currentState)
override;
39 virtual double LogDensity(std::shared_ptr<SamplingState>
const& currState,
40 std::shared_ptr<SamplingState>
const& propState)
override;
std::shared_ptr< AbstractSamplingProblem > prob
Implementation of the classic Random Walk Metropolis proposal.
virtual double LogDensity(std::shared_ptr< SamplingState > const &currState, std::shared_ptr< SamplingState > const &propState) override
MHProposal(boost::property_tree::ptree const &pt, std::shared_ptr< AbstractSamplingProblem > prob, std::shared_ptr< muq::Modeling::GaussianBase > proposalIn)
virtual std::shared_ptr< SamplingState > Sample(std::shared_ptr< SamplingState > const ¤tState) override
virtual ~MHProposal()=default
std::shared_ptr< muq::Modeling::GaussianBase > proposal
The proposal distribution.
MHProposal(boost::property_tree::ptree const &pt, std::shared_ptr< AbstractSamplingProblem > prob)