1 #ifndef INFMALAPROPOSAL_H_
2 #define INFMALAPROPOSAL_H_
9 namespace SamplingAlgorithms {
47 std::shared_ptr<AbstractSamplingProblem>
prob);
54 std::shared_ptr<AbstractSamplingProblem>
prob,
55 std::shared_ptr<muq::Modeling::GaussianBase> zDistIn);
66 std::shared_ptr<muq::Modeling::GaussianBase>
zDist;
68 virtual std::shared_ptr<SamplingState>
Sample(std::shared_ptr<SamplingState>
const& currentState)
override;
70 virtual double LogDensity(std::shared_ptr<SamplingState>
const& currState,
71 std::shared_ptr<SamplingState>
const& propState)
override;
78 Eigen::VectorXd
GetSigmaGrad(std::shared_ptr<SamplingState>
const& currentState)
const;
An implement of the dimension-independent MALA (or Inf-MALA) proposal.
virtual double LogDensity(std::shared_ptr< SamplingState > const &currState, std::shared_ptr< SamplingState > const &propState) override
virtual ~InfMALAProposal()=default
InfMALAProposal(boost::property_tree::ptree const &pt, std::shared_ptr< AbstractSamplingProblem > prob)
virtual std::shared_ptr< SamplingState > Sample(std::shared_ptr< SamplingState > const ¤tState) override
std::shared_ptr< muq::Modeling::GaussianBase > zDist
Eigen::VectorXd GetSigmaGrad(std::shared_ptr< SamplingState > const ¤tState) const
std::shared_ptr< AbstractSamplingProblem > prob