Research Article
Price-Based Resource Allocation in an UAV-Based Cognitive Wireless Powered Networks
Algorithm 1
Resource allocation scheme.
Initialization: | and (error limitation , satisfying and ; ; | Iteration: | 1): whiledo | 2): k =1; | 3): Calculate the updated parameters by using Equations (20), (23), (27), and (31); | 4): while or or or do | 5): update accordingly; | 6): k = k +1; | 7): end while | 8): if then | 9): ; | 10): else | 11): ; | 12): end if | 13): ; | 14): end while |
|