Research Article
Concise and Informative Article Title Throughput Maximization through Joint User Association and Power Allocation for a UAV-Integrated H-CRAN
Algorithm 2
Particle swarm optimization.
1: Initialization: | 2: Randomly generate the position of the first generation particles | 3: Initial velocity of randomly generated particles. | 4: Set the number of iterations . | 5: while do | 6: Calculate the fitness function of each particle according to Algorithm 1 | 7: Update speed and position according to formula (15). | 8: . | 9: end while | 10: Output: Best 3D position of drone. | 11: Calculated maximum sum rate. |
|