Algorithm 8 computeSimilarity. |
Input:
Output:
|
-
1:
//Algorithm 7
-
2:
for to
do
-
3:
for
to
do
-
4:
-
5:
-
6:
end for
-
7:
end for
-
8:
for to
do
-
9:
for
to
do
-
10:
if
then
-
11:
break
-
12:
end if
-
13:
//Algorithm 6
-
14:
-
15:
if
then
-
16:
-
17:
-
18:
end if
-
19:
end for
-
20:
end for
|