ns-allinone-2.35/ns-2.35/diffserv/ew.cc
EWdetectorB::EWdetectorB() : EWdetector() {
  drop_p = 0;
  arr_count = 0;

  adjustor = 1.0;

  // Initialize ALIST
  alist.head = alist.tail = NULL;
  alist.count = 0;

  swin.head = swin.tail = NULL;
  swin.count = swin.ravg = 0;
}
// EW bit rate detector
//Constructor.  
EW bit rate detector
Constructor.
EW bit rate detector Constructor .
EWdetectorB::EWdetectorB() : EWdetector() {
  drop_p = 0;
  arr_count = 0;
  adjustor = 1.0;
  alist.head = alist.tail = NULL;
  alist.count = 0;
  swin.head = swin.tail = NULL;
  swin.count = swin.ravg = 0;
}
EWdetectorB :: EWdetectorB ( ) : EWdetector ( ) { drop_p = 0 ; arr_count = 0 ; adjustor = 1.0 ; alist . head = alist . tail = NULL ; alist . count = 0 ; swin . head = swin . tail = NULL ; swin . count = swin . ravg = 0 ; }
EW bit rate detector
Constructor.
EW bit rate detector Constructor .
// Initialize ALIST