A Discrete-Event Network Simulator
API
ns3::test::RandomVariable::TestCaseBase::RngGeneratorBase Class Referenceabstract

A factory base class to create new instances of a random variable. More...

+ Inheritance diagram for ns3::test::RandomVariable::TestCaseBase::RngGeneratorBase:

Public Member Functions

virtual Ptr< RandomVariableStreamCreate (void) const =0
 Create a new instance of a random variable stream. More...
 

Detailed Description

A factory base class to create new instances of a random variable.

Definition at line 132 of file random-variable-stream-test-suite.cc.

Member Function Documentation

◆ Create()

virtual Ptr<RandomVariableStream> ns3::test::RandomVariable::TestCaseBase::RngGeneratorBase::Create ( void  ) const
pure virtual

Create a new instance of a random variable stream.

Returns
The new random variable stream instance.

Implemented in ns3::test::RandomVariable::TestCaseBase::RngGenerator< RNG >.

Referenced by ns3::test::RandomVariable::TestCaseBase::ChiSquaredsAverage().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: