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 2501 of file random-variable-stream.h.

Constructor & Destructor Documentation

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

Constructor.

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

References NS_LOG_FUNCTION.

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 1518 of file random-variable-stream.cc.

References NS_LOG_FUNCTION.

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

Copy constructor.

Parameters
[in]cThe other ValueCDF.

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

References NS_LOG_FUNCTION.

Member Data Documentation

double ns3::EmpiricalRandomVariable::ValueCDF::cdf

The CDF at value.

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

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

double ns3::EmpiricalRandomVariable::ValueCDF::value

The argument value.

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

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


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