lppl
v2.0.0
|
pp_t<I, gr_output<O, Ts...>, Ts...> to_pp | ( | gpp_t< I, O, Ts... > & | f | ) |
Convert a graph probabilistic program into a (record-based) probabilistic program.
The record-based PP will maintain the semantics of the GPP, but will additionally return a gr_pair created during its execution.
I | The input type of the GPP |
O | The output type of the GPP |
Ts | The distribution types contained in the GPP |
f | the GPP to convert to a PP |