Algorithm 2 Perturbation duration. |
-
1:
procedurePertDuration()
-
2:
▹ user-defined size
-
3:
empty list
-
4:
Segment()
-
5:
Segment()
-
6:
for all do
-
7:
mae()
-
8:
Append to
-
9:
end for
-
10:
-
11:
for all do
-
12:
if then
-
13:
-
14:
end if
-
15:
end for
-
16:
return ▹ n. windows with MAE >
-
17:
end procedure
|