vg
tools for working with variation graphs
|
#include <statistics.hpp>
Public Types | |
using | result_type = OutType |
Public Member Functions | |
WideningPRNG (PRNG &to_widen) | |
OutType | min () const |
OutType | max () const |
OutType | operator() () |
Generate a random number filling all OutType's bits with random bits. More... | |
Protected Attributes | |
PRNG & | base |
We use this widerer to widen the output of a PRNG that generates only numbers in a smaller range so they cover a wider int type.
using vg::WideningPRNG< PRNG, OutType >::result_type = OutType |
|
inline |
|
inline |
|
inline |
|
inline |
Generate a random number filling all OutType's bits with random bits.
|
protected |