A Discrete-Event Network Simulator
API
Modules | Files | Classes
Random Variables

ns-3 random numbers are provided via instances of ns3::RandomVariableStream. More...

Modules

 RNG Implementation
 

Files

file  many-uniform-random-variables-one-get-value-call-test-suite.cc
 Test for many uniform random variable streams.
 
file  one-uniform-random-variable-many-get-value-calls-test-suite.cc
 Test for one uniform random variable stream.
 
file  random-variable-stream-helper.cc
 ns3::RandomVariableStreamHelper implementation.
 
file  random-variable-stream-helper.h
 ns3::RandomVariableStreamHelper declaration.
 
file  random-variable-stream.cc
 ns3::RandomVariableStream and related implementations
 
file  random-variable-stream.h
 ns3::RandomVariableStream declaration, and related classes.
 
file  rng-seed-manager.cc
 ns3::RngSeedManager implementation.
 
file  rng-seed-manager.h
 ns3::RngSeedManager declaration.
 
file  sample-random-variable-stream.cc
 Example program illustrating use of ns3::RandomVariableStream.
 
file  sample-random-variable.cc
 Example program illustrating use of ns3::RandomVariable.
 
file  sample-rng-plot.py
 Demonstrate use of ns-3 as a random number generator integrated with plotting tools.
 

Classes

class  ns3::ConstantRandomVariable
 The Random Number Generator (RNG) that returns a constant. More...
 
class  ns3::DeterministicRandomVariable
 The Random Number Generator (RNG) that returns a predetermined sequence. More...
 
class  ns3::EmpiricalRandomVariable
 The Random Number Generator (RNG) that has a specified empirical distribution. More...
 
class  ns3::ErlangRandomVariable
 The Erlang distribution Random Number Generator (RNG) that allows stream numbers to be set deterministically. More...
 
class  ns3::ExponentialRandomVariable
 The exponential distribution Random Number Generator (RNG). More...
 
class  ns3::GammaRandomVariable
 The gamma distribution Random Number Generator (RNG) that allows stream numbers to be set deterministically. More...
 
class  ns3::LogNormalRandomVariable
 The log-normal distribution Random Number Generator (RNG) that allows stream numbers to be set deterministically. More...
 
class  ns3::NormalRandomVariable
 The normal (Gaussian) distribution Random Number Generator (RNG) that allows stream numbers to be set deterministically. More...
 
class  ns3::ParetoRandomVariable
 The Pareto distribution Random Number Generator (RNG). More...
 
class  ns3::RandomVariableStream
 The basic uniform Random Number Generator (RNG). More...
 
class  ns3::RngSeedManager
 Manage the seed number and run number of the underlying random number generator, and automatic assignment of stream numbers. More...
 
class  ns3::SequentialRandomVariable
 The Random Number Generator (RNG) that returns a pattern of sequential values. More...
 
class  ns3::TriangularRandomVariable
 The triangular distribution Random Number Generator (RNG) that allows stream numbers to be set deterministically. More...
 
class  ns3::UniformRandomVariable
 The uniform distribution Random Number Generator (RNG). More...
 
class  ns3::WeibullRandomVariable
 The Weibull distribution Random Number Generator (RNG) that allows stream numbers to be set deterministically. More...
 
class  ns3::ZetaRandomVariable
 The zeta distribution Random Number Generator (RNG) that allows stream numbers to be set deterministically. More...
 
class  ns3::ZipfRandomVariable
 The Zipf distribution Random Number Generator (RNG) that allows stream numbers to be set deterministically. More...
 

Detailed Description

ns-3 random numbers are provided via instances of ns3::RandomVariableStream.