Research Article
Dynamic Resource Allocation for Load Balancing in Fog Environment
Algorithm 2
Spare space detection for computing nodes.
Input: The occupation record for the computing node | Output: The spare space for | (1) | (2) for to do | (3) | // is the finish time for the occupation of resource units | (4) if then | // is the request time for statistics | (5) | (6) end if | (7) end for | (8) | (9) Return cou |
|