Public Member Functions | Static Public Member Functions

ns3::RngStream Class Reference
[CoreRandom Variable Distributions]

Combined Multiple-Recursive Generator MRG32k3a. More...

#include <rng-stream.h>

List of all members.

Public Member Functions

 RngStream (const RngStream &)
void InitializeStream ()
void ResetStartStream ()
void ResetStartSubstream ()
void ResetNextSubstream ()
void ResetNthSubstream (uint32_t N)
void SetAntithetic (bool a)
void IncreasedPrecis (bool incp)
bool SetSeeds (const uint32_t seed[6])
void AdvanceState (int32_t e, int32_t c)
void GetState (uint32_t seed[6]) const
double RandU01 ()
int32_t RandInt (int32_t i, int32_t j)

Static Public Member Functions

static bool SetPackageSeed (uint32_t seed)
static bool SetPackageSeed (const uint32_t seed[6])
static void GetPackageSeed (uint32_t seed[6])
static void SetPackageRun (uint32_t run)
static uint32_t GetPackageRun (void)
static bool CheckSeed (const uint32_t seed[6])
static bool CheckSeed (uint32_t seed)

Detailed Description

Combined Multiple-Recursive Generator MRG32k3a.

This class is the combined multiple-recursive random number generator called MRG32k3a. The ns3::RandomVariableBase class holds a static instance of this class. The details of this class are explained in: http://www.iro.umontreal.ca/~lecuyer/myftp/papers/streams00.pdf


The documentation for this class was generated from the following file: