#include "random-stream.h"
 Inheritance diagram for ns3::RealRandomStream:
 Collaboration diagram for ns3::RealRandomStream:Public Member Functions | |
| RealRandomStream () | |
| virtual int64_t | AssignStreams (int64_t stream) | 
| Assign a fixed random variable stream number to the random variables used by this model.  More... | |
| virtual uint32_t | GetNext (uint32_t min, uint32_t max) | 
| Get integer between min and max (including min and max).  More... | |
  Public Member Functions inherited from ns3::RandomStream | |
| virtual | ~RandomStream () | 
Private Attributes | |
| Ptr< UniformRandomVariable > | m_stream | 
| Provides uniform random variables.  More... | |
Definition at line 61 of file random-stream.h.
| ns3::RealRandomStream::RealRandomStream | ( | ) | 
Definition at line 32 of file random-stream.cc.
References m_stream.
      
  | 
  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().
 Here is the call graph for this function:
      
  | 
  virtual | 
Get integer between min and max (including min and max).
| min | lower bound (inclusive) | 
| max | upper bound (inclusive) | 
Implements ns3::RandomStream.
Definition at line 38 of file random-stream.cc.
References ns3::RandomVariableStream::GetInteger(), and m_stream.
 Here is the call graph for this function:
      
  | 
  private | 
Provides uniform random variables.
Definition at line 81 of file random-stream.h.
Referenced by AssignStreams(), GetNext(), and RealRandomStream().