Research Article
Performance of Optical Mobile Communications with User Mobility and Multiple Light Sources
Algorithm 1
Proposed group and user power allocation scheme for given user grouping
Input: (with associated parameters , , ), , , , and precision . | Output: the maximum common rate and its associated power allocation , , . | Initialize:, . | 1: whiledo | 2: fordo | 3: Set using (16); | 4: Find by optimizing in (17). | 5: end for | 6: Set ; | 7: Record satisfying . | 8: Set ; | 9: Update . | 10: for except for | 11: Decrease until . | 12: end while | 13: Update , . | 14: end while | 15: Set , , , , and output. |
|