-
Notifications
You must be signed in to change notification settings - Fork 4
/
env_setting.py
24 lines (24 loc) · 1.44 KB
/
env_setting.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
class Setting(object):
def __init__(self):
self.V = {
'relationship': [
[0.11, 0.0, 0.11, 0.11, 0.11, 0.0, 0.22, 0.11, 0.22, 0.0, ],
[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, ],
[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, ],
[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, ],
[0.11, 0.0, 0.11, 0.11, 0.11, 0.0, 0.22, 0.11, 0.22, 0.0, ],
[0.11, 0.0, 0.11, 0.11, 0.11, 0.0, 0.22, 0.11, 0.22, 0.0, ],
[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, ],
[0.22, 0.0, 0.22, 0.22, 0.22, 0.0, 0.44, 0.22, 0.44, 0.0, ],
[0.11, 0.0, 0.11, 0.11, 0.11, 0.0, 0.22, 0.11, 0.22, 0.0, ],
[0.33, 0.0, 0.33, 0.33, 0.33, 0.0, 0.67, 0.33, 0.67, 0.0, ],
],
'cost': [5, 7, 9, 11, 13, 5, 6, 7, 8, 9, 5, 6, 7, 8, 9, 5, 6, 7, 8, 9, 5, 6, 7, 8, 9, 5, 6, 7, 8, 9],
'R': [15, 15.5, 16, 16.5, 17, 17.5, 18, 18.5, 19, 19.5, 20, 20.5, 21, 21.5],
'prob': [0.1, 0.2, 0.3, 0.4],
'task_num': 4,
'quality': [10, 20, 30, 40, 50, 10, 20, 30, 40, 50, 10, 20, 30, 40, 50, 10, 20, 30, 40, 50, 10, 20, 30, 40,
50],
'user_battery_budget': [50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50,
50, 50, 50, 50, 50, 50, 50, 50, 50]
}