lppl  v2.0.0

◆ sample_output() [1/2]

template<typename O , typename... Ts>
template<typename RNG >
std::shared_ptr<O> record_collection_t< O, Ts >::sample_output ( RNG &  rng)
inline

Samples a single output value of the probabilistic program from the empirical posterior.

Template Parameters
RNGthe type of the PRNG used to sample
Parameters
rngthe PRNG used to sample
Returns
std::shared_ptr<O>