Public Member Functions | |
virtual int64_t | AssignStreams (int64_t stream) |
virtual uint32_t | GetNext (uint32_t min, uint32_t max) |
Private Attributes | |
Ptr< UniformRandomVariable > | m_stream |
Provides uniform random variables. | |
Definition at line 50 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 44 of file random-stream.cc.
References m_stream, and ns3::RandomVariableStream::SetStream().