num::markov::metropolis_stats¶
Defined in header <stochastic/mcmc.hpp>
struct metropolis_stats;
Counts from a sweep: proposals accepted and attempted.
Members¶
| member | description |
|---|---|
idx accepted = 0 |
|
idx total = 0 |
|
real acceptance_rate() const |
Return the fraction of proposals accepted; 0 when none were made. |