lppl
v2.0.0
|
graph_sample_node_construct<D, RNG, Ts...> sample_g | ( | gr_pair< Ts... > & | gr, |
std::string && | address, | ||
RNG & | rng | ||
) |
Prepares a sample node for construction and placement in the graph.
D | Type of the distribution of the node |
RNG | Type of the PRNG used to sample from the distribution |
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 |
rng | the PRNG used to draw the samples |