Proposal density intended for Monte Carlo methods. More...
#include <MCSampleProposal.h>
Proposal density intended for Monte Carlo methods.
This proposal simply samples from a given density. When combined with a kernel that always accepts, this allows building Monte Carlo methods in the MCMC framework.
Definition at line 9 of file MCSampleProposal.h.
| Public Member Functions | |
| MCSampleProposal (boost::property_tree::ptree const &pt, std::shared_ptr< AbstractSamplingProblem > prob, std::shared_ptr< Distribution > dist) | |
| std::shared_ptr< SamplingState > | Sample (std::shared_ptr< SamplingState > const ¤tState) override | 
| double | LogDensity (std::shared_ptr< SamplingState > const &currState, std::shared_ptr< SamplingState > const &propState) override | 
| 
 | inline | 
Definition at line 11 of file MCSampleProposal.h.
| 
 | inlineoverride | 
Definition at line 23 of file MCSampleProposal.h.
| 
 | inlineoverride | 
Definition at line 19 of file MCSampleProposal.h.
References dist.
| 
 | private | 
Definition at line 30 of file MCSampleProposal.h.
Referenced by Sample().