1 #ifndef MALAPROPOSAL_H_
2 #define MALAPROPOSAL_H_
9 namespace SamplingAlgorithms {
38 std::shared_ptr<AbstractSamplingProblem>
const& probIn);
41 std::shared_ptr<AbstractSamplingProblem>
const& probIn,
42 std::shared_ptr<muq::Modeling::GaussianBase> zDistIn);
51 std::shared_ptr<muq::Modeling::GaussianBase>
zDist;
53 virtual std::shared_ptr<SamplingState>
Sample(std::shared_ptr<SamplingState>
const& currentState)
override;
56 LogDensity(std::shared_ptr<SamplingState>
const& currState,
57 std::shared_ptr<SamplingState>
const& propState)
override;
Implementation preconditioned Langevin proposal used in the MALA algorithm.
std::shared_ptr< muq::Modeling::GaussianBase > zDist
The proposal distribution.
MALAProposal(boost::property_tree::ptree pt, std::shared_ptr< AbstractSamplingProblem > const &probIn, std::shared_ptr< muq::Modeling::GaussianBase > zDistIn)
virtual double LogDensity(std::shared_ptr< SamplingState > const &currState, std::shared_ptr< SamplingState > const &propState) override
virtual ~MALAProposal()=default
MALAProposal(boost::property_tree::ptree pt, std::shared_ptr< AbstractSamplingProblem > const &probIn)
virtual std::shared_ptr< SamplingState > Sample(std::shared_ptr< SamplingState > const ¤tState) override