A Discrete-Event Network Simulator
API
ns3::EmpiricalRandomVariable::ValueCDF Class Reference

Helper to hold one point of the CDF. More...

Public Member Functions

 ValueCDF ()
 Constructor. More...
 
 ValueCDF (double v, double c)
 Construct from values. More...
 
 ValueCDF (const ValueCDF &c)
 Copy constructor. More...
 

Public Attributes

double cdf
 The CDF at value. More...
 
double value
 The argument value. More...
 

Detailed Description

Helper to hold one point of the CDF.

Definition at line 2492 of file random-variable-stream.h.

Constructor & Destructor Documentation

◆ ValueCDF() [1/3]

ns3::EmpiricalRandomVariable::ValueCDF::ValueCDF ( )

Constructor.

Definition at line 1536 of file random-variable-stream.cc.

References NS_LOG_FUNCTION.

◆ ValueCDF() [2/3]

ns3::EmpiricalRandomVariable::ValueCDF::ValueCDF ( double  v,
double  c 
)

Construct from values.

Parameters
[in]vThe argumetn value.
[in]cThe CDF at the argument value v.

Definition at line 1542 of file random-variable-stream.cc.

References NS_ASSERT, and NS_LOG_FUNCTION.

◆ ValueCDF() [3/3]

ns3::EmpiricalRandomVariable::ValueCDF::ValueCDF ( const ValueCDF c)

Copy constructor.

Parameters
[in]cThe other ValueCDF.

Definition at line 1549 of file random-variable-stream.cc.

References NS_LOG_FUNCTION.

Member Data Documentation

◆ cdf

double ns3::EmpiricalRandomVariable::ValueCDF::cdf

The CDF at value.

Definition at line 2514 of file random-variable-stream.h.

Referenced by ns3::EmpiricalRandomVariable::Validate().

◆ value

double ns3::EmpiricalRandomVariable::ValueCDF::value

The argument value.

Definition at line 2512 of file random-variable-stream.h.

Referenced by ns3::EmpiricalRandomVariable::Validate().


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