1 #ifndef TRNG_RandomNumberGenerator_H
2 #define TRNG_RandomNumberGenerator_H
5 #include "RAND_RandomNumberGenerator.h"
13 template<
typename T,
class I,
class D>
85 template<
typename T1,
class I1,
class D1>
96 inline void split(
const tUInt& n,
const tUInt& p ) {
This class generates a random number of type T generator with internal implemented class I implemente...
Definition: RAND_RandomNumberGenerator.h:14
virtual tMemSize getContentsMemorySize() const
return nthe memory size of the included associations
Definition: RAND_RandomNumberGenerator.h:85
I & getGenerator()
get the internal random nulber generator
Definition: RAND_RandomNumberGenerator.h:140
This class generates a random number of type T generator with implement class I by process.
Definition: TRNG_RandomNumberGenerator.h:14
virtual ~TRNG_RandomNumberGenerator(void)
destroy the class
Definition: TRNG_RandomNumberGenerator.h:39
void generateSeed(TRNG_RandomNumberGenerator< T1, I1, D1 > &s)
initialize seed
Definition: TRNG_RandomNumberGenerator.h:86
void split(const tUInt &n, const tUInt &p)
split the generator per core
Definition: TRNG_RandomNumberGenerator.h:96
TRNG_RandomNumberGenerator(void)
create the class
Definition: TRNG_RandomNumberGenerator.h:32
virtual tMemSize getMemorySize() const
return the memory size of the class and the memory size of all its attributes/associations
Definition: TRNG_RandomNumberGenerator.h:61
virtual tMemSize getContentsMemorySize() const
return nthe memory size of the included associations
Definition: TRNG_RandomNumberGenerator.h:73