Research Article
Energy- and Resource-Aware Computation Offloading for Complex Tasks in Edge Environment
| Input: Target population , Iteration times , Deadline ; | | Output: Optimal location , Time consumption of MDs, Energy consumption of MDs, Resource utilization of the cloudlets; | (1) | Use Algorithm 1 to initialize the parent population | (2) | | (3) | while do | (4) | for Every particle do | (5) | Bring into (14) and (15) to get its crowding distance | (6) | end for | (7) | for Every particle do | (8) | while do | (9) | Select | (10) | | (11) | end while | (12) | | (13) | end for | (14) | | (15) | | (16) | | (17) | for Every particle do | (18) | Bring Q into (14) and (15) to get its crowding distance | (19) | end for | (20) | for Every particle do | (21) | while do | (22) | Select | (23) | | (24) | end while | (25) | | (26) | end for | (27) | | (28) | end while | (29) | return S, Time, Energy, Resource utilization |
|