Research Article
User-Edge Collaborative Resource Allocation and Offloading Strategy in Edge Computing
Algorithm 3
Genetic-Algorithms-Based-Iterative(GABI) algorithm
Input: task set | Output: offloading decision , computing resource allocation scheme | 1: for alldo | 2: Initialization: , , , . | 3: Get according to (24)(12). | 4: repeat | 5: . | 6: Calculate using genetic algorithms through (28). | 7: Get by calling Algorithm 1. | 8: Get using through (24)(9)(10)(12). | 9: ifthen | 10: . | 11: Calculate using genetic algorithms through (28). | 12: return, . | 13: end if | 14: . | 15: Calculate using through (24)(9)(10)(12). | 16: Get by calling Algorithm 2. | 17: until | 18: return, . | 19:end for |
|