|
Algorithm 1 2D UFBS placement process through the k-means algorithm |
-
1:
input: The set of coordinates of all GMTs , and the number of UFBSs Y
-
2:
-
3:
t = 0
-
4:
Initialize centroid points , randomly
-
5:
repeat
-
6:
=
-
7:
for to N do
-
8:
-
9:
-
10:
end for
-
11:
for to do
-
12:
.
-
13:
end for
-
14:
t = t +1
-
15:
until
-
16:
output: A set of centroid points that the UFBSs will be deployed .
|