#include <random-stream.h>
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) |
![]() | |
virtual | ~RandomStream () |
Private Attributes | |
std::list< uint32_t > | m_nexts |
Definition at line 71 of file random-stream.h.
void ns3::TestRandomStream::AddNext | ( | uint32_t | v | ) |
Definition at line 51 of file random-stream.cc.
References m_nexts.
|
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.
|
virtual |
Implements ns3::RandomStream.
Definition at line 57 of file random-stream.cc.
|
private |
Definition at line 88 of file random-stream.h.