|
Algorithm 1:Proposed detection and localization algorithm |
-
1:
Inititalization: ,
-
2:
Training phase:
-
3:
Partition training set into and
-
4:
Compute for each as in (1)
-
5:
Find by selecting the Mth smallest
-
6:
Test phase:
-
7:
whiledo
-
8:
-
9:
Get new data and compute
-
10:
-
11:
end while
-
12:
Attack detected at time
-
13:
Estimate attack start time as
-
14:
fordo
-
15:
Compute as in (7)
-
16:
if
then
-
17:
Declare dimension n as under attack
-
18:
end if
-
19:
end for
|