Every
interval
seconds:
if
(
q
ave
>
q
target
&
&
p
max
<
p
max
_
u
)
p
max
=
p
max
+
α
;
else
if
(
q
ave
<
q
target
&
&
p
max
>
p
max
_
l
)
p
max
=
p
max
×
β
;
if
(
q
ave
∈
q
target
)
Calculate
λ
by(
2.4
)
if (
λ
<
-
1
&
&
w
>
w
min
)
w
=
w
×
γ
;
Parameters:
p
max
_
u
: the upper threshold of
p
max
;
p
1/0.6
p
max
_
l
: the lower threshold of
p
max
;
p
2/0.4
γ
: decrease factor of
w
w
min
: the lower threshold of
w
;
1
-
exp
(
-
1
/
(
10
C
d
/
M
)
)
Other parameters are the same as those with Adaptive RED
Algorithm 1:
Improved ARED algorithm