|
Subroutine 7 Parallel Relation Table Anomaly Detection Algorithm |
|
Input: Model , test sequence
Output: Detect if is normal or not
-
1:
Extract the event set of .
-
2:
iforthen
-
3:
return
is abnormal.
-
4:
end if
-
5:
for event pair () in
do
-
6:
if
is ∅
then
-
7:
return
is abnormal.
-
8:
end if
-
9:
end for
-
10:
for Loop pattern in
do
-
11:
= Sequence processing()
-
12:
for event pair () in
do
-
13:
if
is ∅
then
-
14:
return
is abnormal.
-
15:
end if
-
16:
end for
-
17:
end for
-
18:
return is normal.
|