Research Article
Enabling Device-to-Device (D2D) Communication for the Next Generation WLAN
Algorithm 3
Resource allocation decision algorithm
Input:, , , | Output: | 1: AP allocates RU for the STA in | 2: , | 3: when or do: | 4: | 5: | 6: for to do: | 7: D← | 8: ifthen: | 9: Add into and remove it from . | 10: ; | 11: end if | 12: end for | 13: ifthen | 14: | 15: else | 16: Update , | 17: end if | 18: ; | 19: end when | 20: Return |
|