Research Article
Dynamic Resource Provisioning on Fog Landscapes
Algorithm 2
Get a next time value.
1: procedure NEXT(, ) Return | |
2: = | |
3: for in do | |
4: if At-Executing() t then | |
5: if At-Executing() then | |
6: = At-Executing() | |
7: else | |
8: if At-Executed() t then | |
9: if At-Executed() then | |
10: = At-Executed() | |
11: return result |