ns2 Network Simulator      C++ Class Hierarchy of version ns-snapshot-20040722
Home |  Source Code |  Manual |  FAQ |  Mailing List Archive |  Search |  Download | 


Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

RA_Traffic Class Reference

Inheritance diagram for RA_Traffic:

TrafficGenerator Application Process TclObject List of all members.

Public Member Functions

 RA_Traffic ()
int loadCDF (const char *filename)
int lookup (double u)
virtual double value ()
virtual double interpolate (double u, double x1, double y1, double x2, double y2)
virtual double next_interval (int &)

Protected Member Functions

void init ()

Protected Attributes

double ontime_
double offtime_
double rate_
double interval_
double burstlen_
unsigned int rem_
double minCDF_
double maxCDF_
int interpolation_
int numEntry_
int maxEntry_
CDFentrytable_
RNGrng_

Constructor & Destructor Documentation

RA_Traffic::RA_Traffic  
 


Member Function Documentation

void RA_Traffic::init   [protected, virtual]
 

Reimplemented from TrafficGenerator.

double RA_Traffic::interpolate double    u,
double    x1,
double    y1,
double    x2,
double    y2
[virtual]
 

int RA_Traffic::loadCDF const char *    filename
 

int RA_Traffic::lookup double    u
 

double RA_Traffic::next_interval int &    [virtual]
 

Implements TrafficGenerator.

double RA_Traffic::value   [virtual]
 


Member Data Documentation

double RA_Traffic::burstlen_ [protected]
 

int RA_Traffic::interpolation_ [protected]
 

double RA_Traffic::interval_ [protected]
 

double RA_Traffic::maxCDF_ [protected]
 

int RA_Traffic::maxEntry_ [protected]
 

double RA_Traffic::minCDF_ [protected]
 

int RA_Traffic::numEntry_ [protected]
 

double RA_Traffic::offtime_ [protected]
 

double RA_Traffic::ontime_ [protected]
 

double RA_Traffic::rate_ [protected]
 

unsigned int RA_Traffic::rem_ [protected]
 

RNG* RA_Traffic::rng_ [protected]
 

CDFentry* RA_Traffic::table_ [protected]
 


The documentation for this class was generated from the following file:
This document is generated by doxygen.