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 |
Definition at line 71 of file random-stream.h.
|
virtual |
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.
stream | first stream index to use |
Implements ns3::RandomStream.
Definition at line 66 of file random-stream.cc.