A Discrete-Event Network Simulator
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ns3::TestRandomStream Class Reference
+ Inheritance diagram for ns3::TestRandomStream:

Public Member Functions

void AddNext (uint32_t v)
virtual int64_t AssignStreams (int64_t stream)
virtual uint32_t GetNext (uint32_t min, uint32_t max)

Private Attributes

std::list< uint32_t > m_nexts

Detailed Description

Definition at line 71 of file random-stream.h.

Member Function Documentation

int64_t ns3::TestRandomStream::AssignStreams ( int64_t  stream)

Assign a fixed random variable stream number to the random variables used by this model. Return the number of streams (possibly zero) that have been assigned.

streamfirst stream index to use
the number of stream indices assigned by this model

Implements ns3::RandomStream.

Definition at line 66 of file random-stream.cc.

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