A Discrete-Event Network Simulator
API
Random number generators tests
+ Collaboration diagram for Random number generators tests:

Files

file  random-variable-stream-test-suite.cc
 Random number generator streams tests.
 
file  rng-test-suite.cc
 Random number generators tests.
 

Classes

class  ns3::test::RandomVariable::BernoulliAntitheticTestCase
 Test case for antithetic bernoulli distribution random variable stream generator. More...
 
class  ns3::test::RandomVariable::BernoulliTestCase
 Test case for bernoulli distribution random variable stream generator. More...
 
class  ns3::test::RandomVariable::BinomialAntitheticTestCase
 Test case for antithetic binomial distribution random variable stream generator. More...
 
class  ns3::test::RandomVariable::BinomialTestCase
 Test case for binomial distribution random variable stream generator. More...
 
class  ns3::test::RandomVariable::ConstantTestCase
 Test case for constant random variable stream generator. More...
 
class  ns3::test::RandomVariable::DeterministicTestCase
 Test case for deterministic random variable stream generator. More...
 
class  ns3::test::RandomVariable::EmpiricalAntitheticTestCase
 Test case for antithetic empirical distribution random variable stream generator. More...
 
class  ns3::test::RandomVariable::EmpiricalTestCase
 Test case for empirical distribution random variable stream generator. More...
 
class  ns3::test::RandomVariable::ErlangAntitheticTestCase
 Test case for antithetic Erlang distribution random variable stream generator. More...
 
class  ns3::test::RandomVariable::ErlangTestCase
 Test case for Erlang distribution random variable stream generator. More...
 
class  ns3::test::RandomVariable::ExponentialAntitheticTestCase
 Test case for antithetic exponential distribution random variable stream generator. More...
 
class  ns3::test::RandomVariable::ExponentialTestCase
 Test case for exponential distribution random variable stream generator. More...
 
class  ns3::test::RandomVariable::GammaAntitheticTestCase
 Test case for antithetic gamma distribution random variable stream generator. More...
 
class  ns3::test::RandomVariable::GammaTestCase
 Test case for gamma distribution random variable stream generator. More...
 
class  ns3::test::RandomVariable::LogNormalAntitheticTestCase
 Test case for antithetic log-normal distribution random variable stream generator. More...
 
class  ns3::test::RandomVariable::LogNormalTestCase
 Test case for log-normal distribution random variable stream generator. More...
 
class  ns3::test::RandomVariable::NormalAntitheticTestCase
 Test case for antithetic normal distribution random variable stream generator. More...
 
class  ns3::test::RandomVariable::NormalCachingTestCase
 Test case for caching of Normal RV parameters (see issue #302) More...
 
class  ns3::test::RandomVariable::NormalTestCase
 Test case for normal distribution random variable stream generator. More...
 
class  ns3::test::RandomVariable::ParetoAntitheticTestCase
 Test case for antithetic Pareto distribution random variable stream generator. More...
 
class  ns3::test::RandomVariable::ParetoTestCase
 Test case for Pareto distribution random variable stream generator. More...
 
class  ns3::test::RandomVariable::RandomVariableSuite
 RandomVariableStream test suite, covering all random number variable stream generator types. More...
 
class  RngExponentialTestCase
 Test case for exponential distribution random number generator. More...
 
class  RngNormalTestCase
 Test case for normal distribution random number generator. More...
 
class  RngParetoTestCase
 Test case for pareto distribution random number generator. More...
 
class  RngTestSuite
 The random number generators Test Suite. More...
 
class  ns3::test::RandomVariable::SequentialTestCase
 Test case for sequential random variable stream generator. More...
 
class  ns3::test::RandomVariable::TestCaseBase
 Base class for RandomVariableStream test suites. More...
 
class  ns3::test::RandomVariable::UniformAntitheticTestCase
 Test case for antithetic uniform distribution random variable stream generator. More...
 
class  ns3::test::RandomVariable::UniformTestCase
 Test case for uniform distribution random variable stream generator. More...
 
class  ns3::test::RandomVariable::WeibullAntitheticTestCase
 Test case for antithetic Weibull distribution random variable stream generator. More...
 
class  ns3::test::RandomVariable::WeibullTestCase
 Test case for Weibull distribution random variable stream generator. More...
 
class  ns3::test::RandomVariable::ZetaAntitheticTestCase
 Test case for antithetic Zeta distribution random variable stream generator. More...
 
class  ns3::test::RandomVariable::ZetaTestCase
 Test case for Zeta distribution random variable stream generator. More...
 
class  ns3::test::RandomVariable::ZipfAntitheticTestCase
 Test case for antithetic Zipf distribution random variable stream generator. More...
 
class  ns3::test::RandomVariable::ZipfTestCase
 Test case for Zipf distribution random variable stream generator. More...
 

Functions

void FillHistoRangeUniformly (double *array, uint32_t n, double start, double end)
 Fill an array with increasing values, in the [start, end] range. More...
 

Detailed Description

Function Documentation

◆ FillHistoRangeUniformly()

void FillHistoRangeUniformly ( double *  array,
uint32_t  n,
double  start,
double  end 
)

Fill an array with increasing values, in the [start, end] range.

Parameters
arrayThe array to fill.
nThe size of the array.
startThe start value.
endThe end value.

Definition at line 50 of file rng-test-suite.cc.

References two-ray-to-three-gpp-ch-calibration::start.

Referenced by RngExponentialTestCase::ChiSquaredTest(), RngNormalTestCase::ChiSquaredTest(), and RngParetoTestCase::ChiSquaredTest().

+ Here is the caller graph for this function: