|
fmcs
v0.2.1
|
| graph_observe_node_construct<D, V, Ts...> observe_g | ( | gr_pair< Ts... > & | gr, |
| std::string && | address, | ||
| V | value | ||
| ) |
Prepares an observe node for construction and placement in the graph.
| D | Type of the distribution of the node |
| V | Type of the value to score against the node |
| 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 | value to score against the distribution |