|
Algorithm 2 Three-category-based Scheme
|
-
procedure
PLACEMENT()
-
1:
Apply Algorithm 1 MAN Uncoded Symmetric Placement Scheme ()
-
end procedure
-
procedure
DELIVERY()
-
2:
-
3:
-
4:
the number of distinct elements in
-
5:
for
do
-
6:
-
7:
end for
-
8:
(i) For sub-files in the first category:
-
9:
-
10:
for
do
-
11:
for
do
-
12:
Divide sub-file into t disjoint sub-pieces () with equal size
-
13:
end for
-
14:
for
do
-
15:
for
do
-
16:
User a transmit
-
17:
end for
-
18:
end for
-
19:
end for
-
20:
(ii) For sub-files in the second category:
-
21:
for
do
-
22:
Ɓ
-
23:
for
Ɓ
do
-
24:
for
do
-
25:
for
do
-
26:
Divide sub-file into disjoint sub-pieces () with equal size
-
27:
end for
-
28:
end for
-
29:
for
do
-
30:
for
do
-
31:
if
then
-
32:
continue
-
33:
else
-
34:
User b transmits
-
35:
end if
-
36:
end for
-
37:
end for
-
38:
end for
-
39:
end for
-
40:
(iii) For sub-files in the third category:
-
41:
𝒢
-
42:
for
do
-
43:
for
𝒢
do
-
44:
Divide sub-file into t disjoint sub-pieces with equal size
-
45:
end for
-
46:
end for
-
47:
for
do
-
48:
the number of distinct elements in
-
49:
-
50:
for users do
-
51:
if
then
-
52:
continue
-
53:
else
-
54:
User i transmits
-
55:
end if
-
56:
end for
-
57:
end for
-
end procedure
|