|
Monte Carlo Integration Library 1.0
High-performance Monte Carlo methods for numerical integration and optimization
|
Metropolis-Hastings MCMC sampling engine. More...
#include "../domains/integration_domain.hpp"#include "../geometry.hpp"#include <array>#include <random>#include <utility>#include <functional>#include "metropolisHastingsSampler.tpp"Go to the source code of this file.
Classes | |
| class | mc::mcmc::MetropolisHastingsSampler< dim > |
| Metropolis-Hastings MCMC sampler for arbitrary target distributions. More... | |
Namespaces | |
| namespace | mc |
| namespace | mc::mcmc |
Metropolis-Hastings MCMC sampling engine.
Implements the Metropolis-Hastings algorithm for sampling from arbitrary target probability distributions using Markov Chain Monte Carlo (MCMC).
Algorithm Overview: The Metropolis-Hastings sampler generates a sequence of correlated samples distributed according to a target probability density π(x) by:
Advantages over rejection sampling:
Key properties:
Definition in file metropolisHastingsSampler.hpp.