Revision f857128b include/cnumgen.h
include/cnumgen.h | ||
---|---|---|
18 | 18 |
|
19 | 19 |
class cMersenneTwister; |
20 | 20 |
|
21 |
class SIM_API cNumberGenerator : public cObject |
|
21 |
class SIM_API cNumberGenerator // : public cObject
|
|
22 | 22 |
{ |
23 | 23 |
private: |
24 | 24 |
|
25 |
int nrRngs; |
|
25 |
int nrRNGs; |
|
26 |
|
|
26 | 27 |
cRNG** rngs; |
27 | 28 |
|
28 | 29 |
/** |
... | ... | |
50 | 51 |
/** |
51 | 52 |
* constructor |
52 | 53 |
*/ |
53 |
cNumberGenerator(unsigned nrNumGens,unsigned long * seeds);
|
|
54 |
cNumberGenerator(); |
|
54 | 55 |
|
55 | 56 |
/** |
56 | 57 |
* destructor |
57 | 58 |
*/ |
58 | 59 |
virtual ~cNumberGenerator(); |
59 | 60 |
|
61 |
/* |
|
62 |
* Sets up seeds and instanciates the RNGs |
|
63 |
*/ |
|
64 |
void setupSeeds(unsigned nrRng, unsigned long * seeds); |
|
65 |
|
|
60 | 66 |
/** |
61 | 67 |
* @name Continuous distributions |
62 | 68 |
* |
Also available in: Unified diff