|
numerics 0.1.0
|
#include <problems.hpp>
Public Attributes | |
| std::function< double(int)> | accept_prob |
| std::function< void(int)> | propose |
| int | n_sites |
MCMC sampling problem over n_sites. accept_prob(i) returns the Metropolis acceptance probability for site i. propose(i) applies the proposed move at site i. The spin state is implicit in the lambda captures – the caller owns it.
Definition at line 29 of file problems.hpp.
| std::function<double(int)> num::MCMCProblem::accept_prob |
Definition at line 30 of file problems.hpp.
Referenced by num::solve().
| int num::MCMCProblem::n_sites |
Definition at line 32 of file problems.hpp.
Referenced by num::solve().
| std::function<void(int)> num::MCMCProblem::propose |
Definition at line 31 of file problems.hpp.
Referenced by num::solve().