lppl  v2.0.0
graph_node_construct< D, Ts > Struct Template Reference

Finds and tracks parents/children of nodes involved in a sample or observe statement. More...

#include "graph.hpp"

Public Member Functions

 graph_node_construct (gr_pair< Ts... > &gr, std::string address, bool obs)
 
template<typename... Args>
void add_parents_children (graph_node< D > &node, Args &&... args)
 

Public Attributes

std::string address
 
gr_pair< Ts... > & gr
 
bool obs
 

Detailed Description

template<typename D, typename... Ts>
struct graph_node_construct< D, Ts >

Finds and tracks parents/children of nodes involved in a sample or observe statement.

Template Parameters
DDistribution from which to sample or against which to observe
TsTypes of distributions in the probabilistic program

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