-
Require:
,
-
Ensure:
Decisions
-
1:
Initialize
-
2:
Initialize ,
-
3:
-
4:
for to T do
-
5:
Observe incoming tasks
-
6:
Compute freshness:
-
7:
Compute staleness:
-
8:
if then
-
9:
Synchronize DT with physical system
-
10:
-
11:
Update
-
12:
end if
-
13:
▷ Freshness-weighted DT analytics
-
14:
for each task i at server m do
-
15:
Compute local latency using (4)
-
16:
Compute migration latency using (5)
-
17:
-
18:
if then
-
19:
, ,
-
20:
continue
-
21:
end if
-
22:
if then
-
23:
ProposedMILP()
-
24:
else
-
25:
if
-
26:
end if
-
27:
end for
-
28:
Compute total latency using (6)
-
29:
-
30:
-
31:
-
32:
for each server m do
-
33:
-
34:
-
35:
end for
-
36:
-
37:
end for
-
38:
return all scheduling decisions
|