lppl
v2.0.0
|
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 |
Finds and tracks parents/children of nodes involved in a sample or observe statement.
D | Distribution from which to sample or against which to observe |
Ts | Types of distributions in the probabilistic program |