Skip to main content
. 2011 Jan 17;11(1):917–937. doi: 10.3390/s110100917

Algorithm 3.

Queuing Delay Estimator, at each node i.

1. Initialization:d^qi[packet.type]=0
2. for each packet transmission do
3.   ifd^qi[packet.type]=0then
4.      d^qi[packet.type]=dqi[packet.type]
5.   else
6.      d^qi[packet.type]=(1α)d^qi[packet.type]+αdqi[packet.type]
7.   end if
8. end for