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

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

+ Collaboration diagram for ns3::EmpiricalRandomVariable::ValueCDF:

Public Member Functions

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

Constructor & Destructor Documentation

◆ ValueCDF() [1/2]

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

Constructor.

Definition at line 1523 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 1530 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 2570 of file random-variable-stream.h.

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

◆ value

double ns3::EmpiricalRandomVariable::ValueCDF::value

The argument value.

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

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


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