autoppl  v0.8
A C++ template library for probabilistic programming
ppl::mcmc::TreeInput< ADExprType, SubviewType > Struct Template Reference

#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
 

Detailed Description

template<class ADExprType, class SubviewType>
struct ppl::mcmc::TreeInput< ADExprType, SubviewType >

Struct to pack input to calling build_tree.

Member Typedef Documentation

◆ ad_expr_ref_t

template<class ADExprType , class SubviewType >
using ppl::mcmc::TreeInput< ADExprType, SubviewType >::ad_expr_ref_t = std::reference_wrapper<ad_expr_t>

◆ ad_expr_t

template<class ADExprType , class SubviewType >
using ppl::mcmc::TreeInput< ADExprType, SubviewType >::ad_expr_t = ADExprType

◆ subview_ref_t

template<class ADExprType , class SubviewType >
using ppl::mcmc::TreeInput< ADExprType, SubviewType >::subview_ref_t = std::reference_wrapper<subview_t>

◆ subview_t

template<class ADExprType , class SubviewType >
using ppl::mcmc::TreeInput< ADExprType, SubviewType >::subview_t = SubviewType

Constructor & Destructor Documentation

◆ TreeInput()

template<class ADExprType , class SubviewType >
ppl::mcmc::TreeInput< ADExprType, SubviewType >::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 
)
inline

Member Data Documentation

◆ ad_expr_ref

template<class ADExprType , class SubviewType >
ad_expr_ref_t ppl::mcmc::TreeInput< ADExprType, SubviewType >::ad_expr_ref

◆ epsilon

template<class ADExprType , class SubviewType >
const double ppl::mcmc::TreeInput< ADExprType, SubviewType >::epsilon

◆ ham

template<class ADExprType , class SubviewType >
const double ppl::mcmc::TreeInput< ADExprType, SubviewType >::ham

◆ log_sum_weight_ref

template<class ADExprType , class SubviewType >
std::reference_wrapper<double> ppl::mcmc::TreeInput< ADExprType, SubviewType >::log_sum_weight_ref

◆ n_leapfrog_ref

template<class ADExprType , class SubviewType >
std::reference_wrapper<size_t> ppl::mcmc::TreeInput< ADExprType, SubviewType >::n_leapfrog_ref

◆ p_beg_ref

template<class ADExprType , class SubviewType >
subview_ref_t ppl::mcmc::TreeInput< ADExprType, SubviewType >::p_beg_ref

◆ p_beg_scaled_ref

template<class ADExprType , class SubviewType >
subview_ref_t ppl::mcmc::TreeInput< ADExprType, SubviewType >::p_beg_scaled_ref

◆ p_end_ref

template<class ADExprType , class SubviewType >
subview_ref_t ppl::mcmc::TreeInput< ADExprType, SubviewType >::p_end_ref

◆ p_end_scaled_ref

template<class ADExprType , class SubviewType >
subview_ref_t ppl::mcmc::TreeInput< ADExprType, SubviewType >::p_end_scaled_ref

◆ p_most_ref

template<class ADExprType , class SubviewType >
subview_ref_t ppl::mcmc::TreeInput< ADExprType, SubviewType >::p_most_ref

◆ rho_ref

template<class ADExprType , class SubviewType >
subview_ref_t ppl::mcmc::TreeInput< ADExprType, SubviewType >::rho_ref

◆ sum_metro_prob_ref

template<class ADExprType , class SubviewType >
std::reference_wrapper<double> ppl::mcmc::TreeInput< ADExprType, SubviewType >::sum_metro_prob_ref

◆ theta_adj_ref

template<class ADExprType , class SubviewType >
subview_ref_t ppl::mcmc::TreeInput< ADExprType, SubviewType >::theta_adj_ref

◆ theta_prime_ref

template<class ADExprType , class SubviewType >
subview_ref_t ppl::mcmc::TreeInput< ADExprType, SubviewType >::theta_prime_ref

◆ theta_ref

template<class ADExprType , class SubviewType >
subview_ref_t ppl::mcmc::TreeInput< ADExprType, SubviewType >::theta_ref

◆ tp_adj_ref

template<class ADExprType , class SubviewType >
subview_ref_t ppl::mcmc::TreeInput< ADExprType, SubviewType >::tp_adj_ref

◆ v

template<class ADExprType , class SubviewType >
const int8_t ppl::mcmc::TreeInput< ADExprType, SubviewType >::v

The documentation for this struct was generated from the following file: