16 #ifndef __OMNETPP_CMERSENNETWISTER_H 17 #define __OMNETPP_CMERSENNETWISTER_H 19 #include "simkerneldefs.h" 22 #include "cconfiguration.h" 23 #include "mersennetwister.h" 51 virtual void initialize(
int seedSet,
int rngId,
int numRngs,
52 int parsimProcId,
int parsimNumPartitions,
56 virtual void selfTest()
override;
59 virtual unsigned long intRand()
override;
62 virtual unsigned long intRandMax()
override;
65 virtual unsigned long intRand(
unsigned long n)
override;
68 virtual double doubleRand()
override;
71 virtual double doubleRandNonz()
override;
74 virtual double doubleRandIncl1()
override;
Abstract interface for random number generator classes.
Definition: crng.h:49
Wraps the Mersenne Twister RNG by Makoto Matsumoto and Takuji Nishimura.
Definition: cmersennetwister.h:41
Definition: cabstracthistogram.h:21
Represents the configuration, as accessed by the simulation kernel.
Definition: cconfiguration.h:70