File hamiltonian_monte_carlo_walk.hpp
-
struct HamiltonianMonteCarloWalk
-
template<typename NT, typename OracleFunctor>
struct parameters Public Functions
-
inline parameters(OracleFunctor const &F, unsigned int dim, NT epsilon_ = 2)
-
inline parameters(OracleFunctor const &F, unsigned int dim, NT epsilon_ = 2)
-
template<typename Point, typename Polytope, typename RandomNumberGenerator, typename NegativeGradientFunctor, typename NegativeLogprobFunctor, typename Solver>
struct Walk Public Types
Public Functions
-
inline Walk(Polytope *P, Point &p, NegativeGradientFunctor &neg_grad_f, NegativeLogprobFunctor &neg_logprob_f, parameters<NT, NegativeGradientFunctor> ¶m)
-
inline void apply(RandomNumberGenerator &rng, int walk_length = 1, bool metropolis_filter = true)
-
inline void disable_adaptive()
-
inline void enable_adaptive()
-
inline Walk(Polytope *P, Point &p, NegativeGradientFunctor &neg_grad_f, NegativeLogprobFunctor &neg_logprob_f, parameters<NT, NegativeGradientFunctor> ¶m)
-
template<typename NT, typename OracleFunctor>