![]() |
Stan
2.5.0
probability, sampling & optimization
|
#include <unit_e_nuts.hpp>
Public Member Functions | |
| unit_e_nuts (M &m, BaseRNG &rng, std::ostream *o=&std::cout, std::ostream *e=0) | |
| bool | compute_criterion (ps_point &start, unit_e_point &finish, Eigen::VectorXd &rho) |
Public Member Functions inherited from stan::mcmc::base_nuts< M, unit_e_point, unit_e_metric, expl_leapfrog, BaseRNG > | |
| base_nuts (M &m, BaseRNG &rng, std::ostream *o, std::ostream *e) | |
| ~base_nuts () | |
| void | set_max_depth (const int d) |
| void | set_max_delta (const double d) |
| int | get_max_depth () |
| double | get_max_delta () |
| sample | transition (sample &init_sample) |
| void | write_sampler_param_names (std::ostream &o) |
| void | write_sampler_params (std::ostream &o) |
| void | get_sampler_param_names (std::vector< std::string > &names) |
| void | get_sampler_params (std::vector< double > &values) |
| int | build_tree (int depth, Eigen::VectorXd &rho, ps_point *z_init_parent, ps_point &z_propose, nuts_util &util) |
Public Member Functions inherited from stan::mcmc::base_hmc< M, unit_e_point, unit_e_metric, expl_leapfrog, BaseRNG > | |
| base_hmc (M &m, BaseRNG &rng, std::ostream *o, std::ostream *e) | |
| void | write_sampler_state (std::ostream *o) |
| void | get_sampler_diagnostic_names (std::vector< std::string > &model_names, std::vector< std::string > &names) |
| void | get_sampler_diagnostics (std::vector< double > &values) |
| void | seed (const Eigen::VectorXd &q) |
| void | init_stepsize () |
| unit_e_point & | z () |
| virtual void | set_nominal_stepsize (const double e) |
| double | get_nominal_stepsize () |
| double | get_current_stepsize () |
| virtual void | set_stepsize_jitter (const double j) |
| double | get_stepsize_jitter () |
| void | sample_stepsize () |
Public Member Functions inherited from stan::mcmc::base_mcmc | |
| base_mcmc (std::ostream *o, std::ostream *e) | |
| virtual | ~base_mcmc () |
| std::string | name () |
Additional Inherited Members | |
Public Attributes inherited from stan::mcmc::base_nuts< M, unit_e_point, unit_e_metric, expl_leapfrog, BaseRNG > | |
| int | depth_ |
| int | max_depth_ |
| double | max_delta_ |
| int | n_leapfrog_ |
| int | n_divergent_ |
Protected Attributes inherited from stan::mcmc::base_hmc< M, unit_e_point, unit_e_metric, expl_leapfrog, BaseRNG > | |
| unit_e_point | z_ |
| expl_leapfrog< unit_e_metric < M, BaseRNG >, unit_e_point > | integrator_ |
| unit_e_metric< M, BaseRNG > | hamiltonian_ |
| BaseRNG & | rand_int_ |
| boost::uniform_01< BaseRNG & > | rand_uniform_ |
| double | nom_epsilon_ |
| double | epsilon_ |
| double | epsilon_jitter_ |
Protected Attributes inherited from stan::mcmc::base_mcmc | |
| std::string | name_ |
| std::ostream * | out_stream_ |
| std::ostream * | err_stream_ |
Definition at line 17 of file unit_e_nuts.hpp.
|
inline |
Definition at line 25 of file unit_e_nuts.hpp.
|
inlinevirtual |
Implements stan::mcmc::base_nuts< M, unit_e_point, unit_e_metric, expl_leapfrog, BaseRNG >.
Definition at line 29 of file unit_e_nuts.hpp.