|
Algorithm 1 AP-based CP location and SN-CP association optimization algorithm |
-
1:
Initialize , , , , , and .
-
2:
Calculate between any two SNs, and set according to (15).
-
3:
repeat
-
4:
Update according to (16) and (17), respectively.
-
5:
Update .
-
6:
until Convergence or .
-
7:
Find by (18) and establish K and .
-
8:
Find by (19) according to the center of gravity method.
|