|
Algorithm 1 Client Selection Algorithm |
-
1:
Input:
-
2:
Set
-
3:
for do
-
4:
Calculate
-
5:
if then
-
6:
-
7:
end if
-
8:
end for
-
9:
Rank the clients in according to their . Therefore we have
-
10:
for do
-
11:
Update
-
12:
Add to , i.e.,
-
13:
Calculate
-
14:
end for
-
15:
Find
-
16:
Return , where
|