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

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

Public Member Functions

 ValueCDF (void)
 Constructor. More...
 
 ValueCDF (double v, double c)
 Construct from values. 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 2557 of file random-variable-stream.h.

Constructor & Destructor Documentation

◆ ValueCDF() [1/2]

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

Constructor.

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

References NS_LOG_FUNCTION.

◆ ValueCDF() [2/2]

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

Construct from values.

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

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

References NS_ASSERT, and NS_LOG_FUNCTION.

Member Data Documentation

◆ cdf

double ns3::EmpiricalRandomVariable::ValueCDF::cdf

The CDF at value

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

Referenced by ns3::operator<(), and ns3::EmpiricalRandomVariable::Validate().

◆ value

double ns3::EmpiricalRandomVariable::ValueCDF::value

The argument value.

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

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


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