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  

TfrcSinkAgent Class Reference

#include <tfrc-sink.h>

Inheritance diagram for TfrcSinkAgent:

Agent Connector NsObject TclObject Handler List of all members.

Public Member Functions

 TfrcSinkAgent ()
void recv (Packet *, Handler *)

Protected Member Functions

void sendpkt (double)
void nextpkt (double)
double adjust_history (double)
double est_loss ()
double est_thput ()
int command (int argc, const char *const *argv)
void print_loss (int sample, double ave_interval)
void print_loss_all (int *sample)
int new_loss (int i, double tstamp)
double estimate_tstamp (int before, int after, int i)
double est_loss_WALI ()
void shift_array (int *a, int sz, int defval)
void shift_array (double *a, int sz, double defval)
void multiply_array (double *a, int sz, double multiplier)
void init_WALI ()
double weighted_average (int start, int end, double factor, double *m, double *w, int *sample)
double est_loss_EWMA ()
double est_loss_RBPH ()
double est_loss_EBPH ()

Protected Attributes

TfrcNackTimer nack_timer_
int psize_
double rtt_
double tzero_
int smooth_
int total_received_
int bval_
double last_report_sent
double NumFeedback_
int rcvd_since_last_report
int losses_since_last_report
int printLoss_
int maxseq
int maxseqList
int numPkts_
int numPktsSoFar_
int PreciseLoss_
double last_timestamp_
double last_arrival_
int hsz
char * lossvec_
int lastloss_round_id
int round_id
double lastloss
int numsamples
int * sample
double mult_factor_
int sample_count
int last_sample
int init_WALI_flag
int loss_seen_yet
int adjust_history_after_ss
int false_sample
int algo
int discount
double history
double avg_loss_int
int loss_int
double sendrate
int minlc


class TfrcNackTimer

Constructor & Destructor Documentation


Member Function Documentation

double TfrcSinkAgent::adjust_history double    [protected]

int TfrcSinkAgent::command int    argc,
const char *const *    argv
[protected, virtual]

Reimplemented from Agent.

double TfrcSinkAgent::est_loss   [protected]

double TfrcSinkAgent::est_loss_EBPH   [protected]

double TfrcSinkAgent::est_loss_EWMA   [protected]

double TfrcSinkAgent::est_loss_RBPH   [protected]

double TfrcSinkAgent::est_loss_WALI   [protected]


double TfrcSinkAgent::est_thput   [protected]

double TfrcSinkAgent::estimate_tstamp int    before,
int    after,
int    i

void TfrcSinkAgent::init_WALI   [protected]

void TfrcSinkAgent::multiply_array double   a,
int    sz,
double    multiplier

int TfrcSinkAgent::new_loss int    i,
double    tstamp

void TfrcSinkAgent::nextpkt double    [protected]

void TfrcSinkAgent::print_loss int    sample,
double    ave_interval

void TfrcSinkAgent::print_loss_all int *    sample [protected]

void TfrcSinkAgent::recv Packet  ,

Reimplemented from Agent.

void TfrcSinkAgent::sendpkt double    [protected]

void TfrcSinkAgent::shift_array double   a,
int    sz,
double    defval

void TfrcSinkAgent::shift_array int *    a,
int    sz,
int    defval

double TfrcSinkAgent::weighted_average int    start,
int    end,
double    factor,
double   m,
double   w,
int *    sample

Friends And Related Function Documentation

friend class TfrcNackTimer [friend]

Member Data Documentation

int TfrcSinkAgent::adjust_history_after_ss [protected]

int TfrcSinkAgent::algo [protected]

double TfrcSinkAgent::avg_loss_int [protected]

int TfrcSinkAgent::bval_ [protected]

int TfrcSinkAgent::discount [protected]

int TfrcSinkAgent::false_sample [protected]

double TfrcSinkAgent::history [protected]

int TfrcSinkAgent::hsz [protected]

int TfrcSinkAgent::init_WALI_flag [protected]

double TfrcSinkAgent::last_arrival_ [protected]

double TfrcSinkAgent::last_report_sent [protected]

int TfrcSinkAgent::last_sample [protected]

double TfrcSinkAgent::last_timestamp_ [protected]

double TfrcSinkAgent::lastloss [protected]

int TfrcSinkAgent::lastloss_round_id [protected]

int TfrcSinkAgent::loss_int [protected]

int TfrcSinkAgent::loss_seen_yet [protected]

int TfrcSinkAgent::losses_since_last_report [protected]

char* TfrcSinkAgent::lossvec_ [protected]

int TfrcSinkAgent::maxseq [protected]

int TfrcSinkAgent::maxseqList [protected]

int TfrcSinkAgent::minlc [protected]

double* TfrcSinkAgent::mult [protected]

double TfrcSinkAgent::mult_factor_ [protected]

TfrcNackTimer TfrcSinkAgent::nack_timer_ [protected]

double TfrcSinkAgent::NumFeedback_ [protected]

int TfrcSinkAgent::numPkts_ [protected]

int TfrcSinkAgent::numPktsSoFar_ [protected]

int TfrcSinkAgent::numsamples [protected]

int TfrcSinkAgent::PreciseLoss_ [protected]

int TfrcSinkAgent::printLoss_ [protected]

int TfrcSinkAgent::psize_ [protected]

int TfrcSinkAgent::rcvd_since_last_report [protected]

int TfrcSinkAgent::round_id [protected]

double TfrcSinkAgent::rtt_ [protected]

double* TfrcSinkAgent::rtvec_ [protected]

int* TfrcSinkAgent::sample [protected]

int TfrcSinkAgent::sample_count [protected]

double TfrcSinkAgent::sendrate [protected]

int TfrcSinkAgent::smooth_ [protected]

int TfrcSinkAgent::total_received_ [protected]

double* TfrcSinkAgent::tsvec_ [protected]

double TfrcSinkAgent::tzero_ [protected]

double* TfrcSinkAgent::weights [protected]

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