Research Article
Joint Channel Allocation and Power Control for Uplink NOMA-Assisted Multi-UAV Networks
Algorithm 1
Channel allocation algorithm.
1://initialization: each UAV sends a request packet (coordination, speed, channel state, etc.) to GB, =; | 2: Get the nonascending order of channel gains, ; | 3: Mark the UAV with channel gain as ; | 4: Obtain the sets {,,, }; | 5: for each subset , do | 6: for =; ; do | 7: if the set is not empty, then | 8: Add the th component in set to subset ; | 9: Judge whether the components in subset meet constraint (8); | 10: If not, adjust the power level of corresponding component in ; | 11: end if | 12: end for | 13: =-1; | 14: end for | 15: If all UAVs are assigned to the special channels, the algorithm is terminated; | 16: return . |
|