Research Article
Efficient Placement of an Aerial Relay Drone for Throughput Maximization
Algorithm 1
Efficient Aerial Relay Node Placement using PSO Algorithm.
1: Input: | 2: The lower and upper bounds of devision variable , construction coefficients , maximum number of iterations , population size | 3: Initialiaztion: | 4: , | 5: , , , | 6: For | 7: Each particle starts at a random initial position: | | 8: Each particle starts with zero velocity: | 9: Find the cost of particle : | 10: Let the best location of particle equals the current location: | | 11: Let the best cost of particle equals the current cost: | | 12: If | 13: | 14: End if | 15: End | 16: PSO loop: | 17: For | 18: For | 19: Find the velocity, position and cost for particle : | | | 20: | 21: If | 22: | 23: | 24: Find an efficient placement of a UAV: | If | 25: | 26: End if | 27: End if | 28: End | 29: End |
|