A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ns3::RngStream Class Reference

Combined Multiple-Recursive Generator MRG32k3a. More...

#include <rng-stream.h>

Public Member Functions

 RngStream (uint32_t seed, uint64_t stream, uint64_t substream)
 
 RngStream (const RngStream &)
 
double RandU01 (void)
 

Private Member Functions

void AdvanceNthBy (uint64_t nth, int by, double state[6])
 

Private Attributes

double m_currentState [6]
 

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

Definition at line 39 of file rng-stream.h.

Member Function Documentation


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