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  

RateLimitStrategy Class Reference

#include <rate-limit-strategy.h>

List of all members.

Public Member Functions

 RateLimitStrategy (double rate, int ptype, double share, double estimate)
 ~RateLimitStrategy ()
double process (Packet *p, int mine, int lowDemand)
void restrictPacketType (int type, double share, double actual)
double getDropRate ()
double getArrivalRate ()
void reset ()

Public Attributes

double target_rate_
double reset_time_
int ptype_
double ptype_share_

Constructor & Destructor Documentation

RateLimitStrategy::RateLimitStrategy double    rate,
int    ptype,
double    share,
double    estimate


Member Function Documentation

double RateLimitStrategy::getArrivalRate  

double RateLimitStrategy::getDropRate  

double RateLimitStrategy::process Packet   p,
int    mine,
int    lowDemand

void RateLimitStrategy::reset  

void RateLimitStrategy::restrictPacketType int    type,
double    share,
double    actual

Member Data Documentation

int RateLimitStrategy::ptype_

double RateLimitStrategy::ptype_share_

PacketTypeLog* RateLimitStrategy::ptypeLog_

RateEstimator* RateLimitStrategy::ptypeRateEstimator_

RateLimiter* RateLimitStrategy::ptypeRateLimiter_

RateEstimator* RateLimitStrategy::rateEstimator_

RateLimiter* RateLimitStrategy::rateLimiter_

double RateLimitStrategy::reset_time_

double RateLimitStrategy::target_rate_

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