Research Article
Joint Optimization of Energy Conservation and Migration Cost for Complex Systems in Edge Computing
Algorithm 2
Allocation record updating.
| Input: | | Output: | | 1: , | | 2: for to do | | // Migrating a VM to a destination VM | | 3: if then | | 4: if then | | 5: | | 6: | | 7: Update according with | | 8: end if | | 9: end if | | 10: end for | | 11: | | 12: | | 13: Generate the record | | 14: Add to | | 15: Return |
|