16 #ifndef __OMNETPP_CRNG_H 17 #define __OMNETPP_CRNG_H 19 #include "simkerneldefs.h" 52 unsigned long numDrawn;
62 virtual void initialize(
int seedSet,
int rngId,
int numRngs,
63 int parsimProcId,
int parsimNumPartitions,
72 virtual void selfTest() = 0;
83 virtual unsigned long intRand() = 0;
88 virtual unsigned long intRandMax() = 0;
93 virtual unsigned long intRand(
unsigned long n) = 0;
98 virtual double doubleRand() = 0;
103 virtual double doubleRandNonz() = 0;
108 virtual double doubleRandIncl1() = 0;
Root of the OMNeT++ class hierarchy. cObject is a lightweight class without any data members...
Definition: cobject.h:58
Abstract interface for random number generator classes.
Definition: crng.h:49
double doubleRandNonzIncl1()
Definition: crng.h:113
virtual unsigned long getNumbersDrawn() const
Definition: crng.h:78
Definition: cabstracthistogram.h:21
Represents the configuration, as accessed by the simulation kernel.
Definition: cconfiguration.h:70