lppl  v2.0.0

◆ sample()

template<typename D >
template<typename RNG >
DSType<D> graph_node< D >::sample ( RNG &  rng)
inline

Returns a sample from the node's distribution.

Template Parameters
RNGThe type of PRNG used in the same
Parameters
rngthe PRNG used in the sample
Returns
DSType<D>