A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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 () const =0
 Create a new instance of a random variable stream.
 

Detailed Description

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

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

Member Function Documentation

◆ Create()

virtual Ptr< RandomVariableStream > ns3::test::RandomVariable::TestCaseBase::RngGeneratorBase::Create ( ) 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: