Stride Reference Manual
1.0
|
#include <RNG.h>
Public Member Functions | |
double | nextDouble () |
Static Public Member Functions | |
static RNG & | getInstance () |
Private Member Functions | |
RNG () | |
RNG (const RNG &) | |
RNG & | operator= (const RNG &) |
Private Attributes | |
trng::mrg2 | m_engine |
The random number engine. More... | |
trng::uniform01_dist< double > | m_uniform_dist |
The random distribution. More... | |
|
inlineprivate |
Definition at line 17 of file RNG.h.
References m_uniform_dist, and operator=().
|
private |
|
inlinestatic |
Definition at line 26 of file RNG.h.
Referenced by stride::LocalDiscussion< PersonType >::update().
|
inline |
Definition at line 31 of file RNG.h.
References m_engine, and m_uniform_dist.
|
private |
|
private |
The random distribution.
Definition at line 37 of file RNG.h.
Referenced by nextDouble(), and RNG().