|
Algorithm 1 Message Classification on Type |
-
Input:
,
={, , …, }.
-
Output:
.
-
1:
Step 1: Message classification
-
2:
for each
do
-
3:
Check the type of message (there is this field in the message);
-
4:
Then classify according to the type of ;
-
5:
Add to ;
-
6:
if
== NULL then
-
7:
Stop classifying message;
-
8:
end if
-
9:
end for
-
10:
is a two-dimensional list;
-
11:
Step 2: Message summary list generation
-
12:
for each ∈
do
-
13:
generate a summary of . i.e., TextRank Algorithm.
-
14:
add the summary to ;
-
15:
Generate ;
-
16:
end for
-
17:
send to all other RSUs.
|