Research Article
Design of Resource-Aware Load Allocation for Heterogeneous Fog Computing Environments
Algorithm 1
Resource-aware load allocation algorithm for a fog-cloud paradigm.
Input: Set of Fog devices and Edge devices | Output: Assignment of appropriate edge nodes to fog devices | 1: Fog devices , Edge devices | 2: for each do | 3: if | 4: add to | 5: end | 6: else | 7: add to | 8: end | 9: end | 10: for each do | 11: fordo | 12: if | 13: add to | 14: | 15: end | 16: else | 17: fordo | 18: if | 19: add to | 20: | 21: end | 22: end for | 23: end | 24: end for | 25: end for |
|