lppl
v2.0.0
|
graph_node<Value<V> > value_g | ( | gr_pair< Ts... > & | gr, |
std::string && | address, | ||
V | value | ||
) |
Creates a value node and places it in the graph.
V | Type of value to be tracked |
Ts | Types of distributions in the probabilistic program |
gr | a graph_ir and a record |
address | the address at which to store the created node |
value | the value to be tracked |