ns2 Network Simulator C++ Class Hierarchy of version ns-snapshot-20040722 | |
| Home | Source Code | Manual | FAQ | Mailing List Archive | Search | | | Download | |
#include <ranvar.h>
Inheritance diagram for EmpiricalRandomVariable:
Public Member Functions | |
virtual double | value () |
virtual double | interpolate (double u, double x1, double y1, double x2, double y2) |
virtual double | avg () |
EmpiricalRandomVariable () | |
double & | minCDF () |
double & | maxCDF () |
int | loadCDF (const char *filename) |
Protected Member Functions | |
int | command (int argc, const char *const *argv) |
int | lookup (double u) |
Protected Attributes | |
double | minCDF_ |
double | maxCDF_ |
int | interpolation_ |
int | numEntry_ |
int | maxEntry_ |
CDFentry * | table_ |
|
|
|
Implements RandomVariable. |
|
Reimplemented from RandomVariable. |
|
|
|
|
|
|
|
|
|
|
|
Implements RandomVariable. |
|
|
|
|
|
|
|
|
|
|
|
|