ns-allinone-2.35/ns-2.35/diffserv/ew.cc
void TBrateLimitor::adjustScore(int score) {
  // pay the penalty
  if (last_token_rate > token_rate)
    n_score += score;
  else
    p_score += score;
}
// adjust the score for increasing or decreasing scores
adjust the score for increasing or decreasing scores
adjust the score for increasing or decreasing scores
void TBrateLimitor::adjustScore(int score) {
  if (last_token_rate > token_rate)
    n_score += score;
  else
    p_score += score;
}
void TBrateLimitor :: adjustScore ( int score ) { if ( last_token_rate > token_rate ) n_score += score ; else p_score += score ; }
adjust the score for increasing or decreasing scores
adjust the score for increasing or decreasing scores
// pay the penalty