: the number of lost packets of class i |
: the number of arrived packets of class i |
: the loss differentiation parameter of class i |
: the channel capacity encountered when the scheduler transmits the HOL packet of class i |
: the set of backlogged classes at present t |
: the size of the HOL packet in class i |
: the center of the membership function recommended by the consequence of rule f of class i |
: the degree of membership of input variables, packet size and |
channel states, of class i |
: the defuzzified output of FCS of class i |
: drop threshold |
: lost debt of class i |
FPLR Dropper |
{
|
a class-i packet arrives at time t,; |
if (buffer overflow){ |
calculate, ; |
calculate, i = 1, 2,…, N; f = 1, 2, 3, 4, 5; |
J=; |
; |
if () then , ; |
else if () then , ; |
if ((+)> ) { |
drop the HOL packet from class J; |
;} |
else{ |
do { |
find; |
if ((+)> ) { |
drop the HOL packet from class K; |
;} |
} while(one packet is dropped or all classes have been visited) |
if (no packet is dropped){ |
drop the HOL packet from class J; |
;} |
} |
accept the incoming packet; |
}
|