autoppl
v0.8
A C++ template library for probabilistic programming
|
#include <tree_utils.hpp>
Public Types | |
using | ad_expr_t = ADExprType |
using | subview_t = SubviewType |
using | ad_expr_ref_t = std::reference_wrapper< ad_expr_t > |
using | subview_ref_t = std::reference_wrapper< subview_t > |
Public Member Functions | |
TreeInput (ad_expr_t &ad_expr, subview_t &theta, subview_t &theta_adj, subview_t &tp_adj, subview_t &theta_prime, subview_t &p_most, subview_t &p_beg, subview_t &p_end, subview_t &p_beg_scaled, subview_t &p_end_scaled, subview_t &rho, size_t &n_leapfrog, double &log_sum_weight, double &sum_metro_prob, int8_t v, double epsilon, double ham) | |
Public Attributes | |
ad_expr_ref_t | ad_expr_ref |
subview_ref_t | theta_ref |
subview_ref_t | theta_adj_ref |
subview_ref_t | tp_adj_ref |
subview_ref_t | theta_prime_ref |
subview_ref_t | p_most_ref |
subview_ref_t | p_beg_ref |
subview_ref_t | p_end_ref |
subview_ref_t | p_beg_scaled_ref |
subview_ref_t | p_end_scaled_ref |
subview_ref_t | rho_ref |
std::reference_wrapper< size_t > | n_leapfrog_ref |
std::reference_wrapper< double > | log_sum_weight_ref |
std::reference_wrapper< double > | sum_metro_prob_ref |
const int8_t | v |
const double | epsilon |
const double | ham |
Struct to pack input to calling build_tree.
using ppl::mcmc::TreeInput< ADExprType, SubviewType >::ad_expr_ref_t = std::reference_wrapper<ad_expr_t> |
using ppl::mcmc::TreeInput< ADExprType, SubviewType >::ad_expr_t = ADExprType |
using ppl::mcmc::TreeInput< ADExprType, SubviewType >::subview_ref_t = std::reference_wrapper<subview_t> |
using ppl::mcmc::TreeInput< ADExprType, SubviewType >::subview_t = SubviewType |
|
inline |
ad_expr_ref_t ppl::mcmc::TreeInput< ADExprType, SubviewType >::ad_expr_ref |
const double ppl::mcmc::TreeInput< ADExprType, SubviewType >::epsilon |
const double ppl::mcmc::TreeInput< ADExprType, SubviewType >::ham |
std::reference_wrapper<double> ppl::mcmc::TreeInput< ADExprType, SubviewType >::log_sum_weight_ref |
std::reference_wrapper<size_t> ppl::mcmc::TreeInput< ADExprType, SubviewType >::n_leapfrog_ref |
subview_ref_t ppl::mcmc::TreeInput< ADExprType, SubviewType >::p_beg_ref |
subview_ref_t ppl::mcmc::TreeInput< ADExprType, SubviewType >::p_beg_scaled_ref |
subview_ref_t ppl::mcmc::TreeInput< ADExprType, SubviewType >::p_end_ref |
subview_ref_t ppl::mcmc::TreeInput< ADExprType, SubviewType >::p_end_scaled_ref |
subview_ref_t ppl::mcmc::TreeInput< ADExprType, SubviewType >::p_most_ref |
subview_ref_t ppl::mcmc::TreeInput< ADExprType, SubviewType >::rho_ref |
std::reference_wrapper<double> ppl::mcmc::TreeInput< ADExprType, SubviewType >::sum_metro_prob_ref |
subview_ref_t ppl::mcmc::TreeInput< ADExprType, SubviewType >::theta_adj_ref |
subview_ref_t ppl::mcmc::TreeInput< ADExprType, SubviewType >::theta_prime_ref |
subview_ref_t ppl::mcmc::TreeInput< ADExprType, SubviewType >::theta_ref |
subview_ref_t ppl::mcmc::TreeInput< ADExprType, SubviewType >::tp_adj_ref |
const int8_t ppl::mcmc::TreeInput< ADExprType, SubviewType >::v |