A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::IntEmpiricalVariableImpl Class Reference
+ Inheritance diagram for ns3::IntEmpiricalVariableImpl:
+ Collaboration diagram for ns3::IntEmpiricalVariableImpl:

Public Member Functions

 IntEmpiricalVariableImpl ()
 
virtual RandomVariableBaseCopy (void) const
 
virtual uint32_t GetInteger ()
 
- Public Member Functions inherited from ns3::EmpiricalVariableImpl
 EmpiricalVariableImpl ()
 Constructor for the EmpiricalVariableImpl random variables. More...
 
 EmpiricalVariableImpl (const EmpiricalVariableImpl &c)
 
virtual ~EmpiricalVariableImpl ()
 
virtual void CDF (double v, double c)
 Specifies a point in the empirical distribution. More...
 
virtual double GetValue ()
 
- Public Member Functions inherited from ns3::RandomVariableBase
 RandomVariableBase ()
 
 RandomVariableBase (const RandomVariableBase &o)
 
virtual ~RandomVariableBase ()
 
RngStreamGetStream (void)
 

Private Member Functions

virtual double Interpolate (double, double, double, double, double)
 

Detailed Description

Definition at line 1308 of file random-variable.cc.

Constructor & Destructor Documentation

ns3::IntEmpiricalVariableImpl::IntEmpiricalVariableImpl ( )

Definition at line 1323 of file random-variable.cc.

References NS_LOG_FUNCTION.

Referenced by Copy().

+ Here is the caller graph for this function:

Member Function Documentation

RandomVariableBase * ns3::IntEmpiricalVariableImpl::Copy ( void  ) const
virtual

Reimplemented from ns3::EmpiricalVariableImpl.

Definition at line 1334 of file random-variable.cc.

References IntEmpiricalVariableImpl(), and NS_LOG_FUNCTION.

+ Here is the call graph for this function:

uint32_t ns3::IntEmpiricalVariableImpl::GetInteger ( void  )
virtual
Returns
An integer value from this empirical distribution

Reimplemented from ns3::RandomVariableBase.

Definition at line 1328 of file random-variable.cc.

References ns3::EmpiricalVariableImpl::GetValue(), and NS_LOG_FUNCTION.

+ Here is the call graph for this function:

double ns3::IntEmpiricalVariableImpl::Interpolate ( double  c1,
double  c2,
double  v1,
double  v2,
double  r 
)
privatevirtual

Reimplemented from ns3::EmpiricalVariableImpl.

Definition at line 1340 of file random-variable.cc.

References NS_LOG_FUNCTION.


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