Inheritance diagram for ns3::EmpiricalVariableImpl:
Collaboration diagram for ns3::EmpiricalVariableImpl:Classes | |
| class | ValueCDF |
Public Member Functions | |
| 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 RandomVariableBase * | Copy (void) const |
| virtual double | GetValue () |
Public Member Functions inherited from ns3::RandomVariableBase | |
| RandomVariableBase () | |
| RandomVariableBase (const RandomVariableBase &o) | |
| virtual | ~RandomVariableBase () |
| virtual uint32_t | GetInteger () |
| RngStream * | GetStream (void) |
Private Member Functions | |
| virtual double | Interpolate (double, double, double, double, double) |
| virtual void | Validate () |
Private Attributes | |
| std::vector< ValueCDF > | emp |
| bool | validated |
Definition at line 1115 of file random-variable.cc.
|
explicit |
Constructor for the EmpiricalVariableImpl random variables.
Definition at line 1177 of file random-variable.cc.
References NS_LOG_FUNCTION.
Referenced by Copy().
Here is the caller graph for this function:
|
virtual |
Definition at line 1191 of file random-variable.cc.
References NS_LOG_FUNCTION.
| ns3::EmpiricalVariableImpl::EmpiricalVariableImpl | ( | const EmpiricalVariableImpl & | c | ) |
Definition at line 1183 of file random-variable.cc.
References NS_LOG_FUNCTION.
|
virtual |
Specifies a point in the empirical distribution.
| v | The function value for this point |
| c | Probability that the function is less than or equal to v |
Definition at line 1248 of file random-variable.cc.
References emp, and NS_LOG_FUNCTION.
Referenced by ns3::EmpiricalVariable::CDF().
Here is the caller graph for this function:
|
virtual |
Implements ns3::RandomVariableBase.
Reimplemented in ns3::IntEmpiricalVariableImpl.
Definition at line 1242 of file random-variable.cc.
References EmpiricalVariableImpl(), and NS_LOG_FUNCTION.
Here is the call graph for this function:
|
virtual |
Implements ns3::RandomVariableBase.
Definition at line 1196 of file random-variable.cc.
References emp, ns3::RandomVariableBase::GetStream(), Interpolate(), NS_LOG_FUNCTION, ns3::RngStream::RandU01(), Validate(), and validated.
Referenced by ns3::IntEmpiricalVariableImpl::GetInteger().
Here is the call graph for this function:
Here is the caller graph for this function:
|
privatevirtual |
Reimplemented in ns3::IntEmpiricalVariableImpl.
Definition at line 1276 of file random-variable.cc.
References NS_LOG_FUNCTION.
Referenced by GetValue().
Here is the caller graph for this function:
|
privatevirtual |
Definition at line 1255 of file random-variable.cc.
References ns3::EmpiricalVariableImpl::ValueCDF::cdf, emp, NS_FATAL_ERROR, NS_LOG_FUNCTION, validated, and ns3::EmpiricalVariableImpl::ValueCDF::value.
Referenced by GetValue().
Here is the caller graph for this function:
|
private |
Definition at line 1150 of file random-variable.cc.
Referenced by CDF(), GetValue(), and Validate().
|
private |
Definition at line 1149 of file random-variable.cc.
Referenced by GetValue(), and Validate().