Algorithm 1 LCS cluster tree building algorithm. |
-
Require :
Sampling cluster A, A ( to p and to x)
-
Ensure :
The pre-attack steps array of each attack
-
1:
for (; ; i++) do
-
2:
;
-
3:
for (; ; m++) do
-
4:
for (; ; n++) do
-
5:
s = ;
-
6:
if (s!= ) then
-
7:
[i][k++]=s;
-
8:
;
-
9:
end if
-
10:
end for
-
11:
end for
-
12:
end for
|