#include <random-stream.h>
Public Member Functions | |
virtual int64_t | AssignStreams (int64_t stream)=0 |
virtual uint32_t | GetNext (uint32_t min, uint32_t max)=0 |
A simple wrapper around RngStream to make testing of the code easier.
Definition at line 33 of file random-stream.h.
|
pure 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 |
Implemented in ns3::TestRandomStream, and ns3::RealRandomStream.
Referenced by ns3::DcaTxop::AssignStreams().