-
Notifications
You must be signed in to change notification settings - Fork 3
/
naive.txt
161 lines (116 loc) · 4.61 KB
/
naive.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
#################### Settings ======================
#debug.config
MAX_RANGE 400
OBERVERS_CYCLE 50
PROTOCOL_CYCLE 20
CONTROL_CYCLE 50
network.size 9
map_size 1000
#random.seed 1234567890
random.seed 22222222748
simulation.endtime 20000
simulation.logtime 50
################### initialization ======================
init.0 example.update.initialisation.EnergyInitializer
init.0.protocol energy
init.1 example.update.initialisation.CoordinatesInitializer
init.1.protocol localisation
init.1.max_node_speed 60
init.1.min_node_speed 10
init.2 example.update.initialisation.GossipInitializer
init.2.gossip_protocol gossip
init.2.network_protocol p2p_net_agent
init.2.file_size 600
init.3 example.update.initialisation.BandwidthInitializer
init.3.protocol bandwidth
init.3.max_bandwidth 1000
init.4 example.update.initialisation.RangeInitializer
init.4.protocol range
init.4.gaussian_mean 500
init.5 example.update.initialisation.StorageInitializer
init.5.protocol disk_space
init.5.gaussian_mean 800
################### protocols ===========================
protocol.link IdleProtocol
protocol.energy example.update.strategies.Energy
protocol.localisation example.update.constraints.NodeCoordinates
protocol.range example.update.constraints.NetworkRange
protocol.disk_space example.update.strategies.Storage
protocol.bandwidth example.update.constraints.Bandwidth
protocol.neighbor example.update.DiscoveryNeighborhoodMaintainer
protocol.neighbor.coord_protocol localisation
protocol.neighbor.range_protocol range
protocol.neighbor.energy_protocol energy
protocol.neighbor.max_distance MAX_RANGE
protocol.neighbor.transport tr
protocol.neighbor.step PROTOCOL_CYCLE
init.sch1 CDScheduler
init.sch1.protocol neighbor
protocol.gossip example.update.Gossiper
protocol.gossip.neighbors_protocol neighbor
protocol.gossip.supervisor_protocol supervisor
protocol.gossip.transport tr
protocol.tr UniformRandomTransport
protocol.tr.mindelay 0
protocol.tr.maxdelay 1
init.sch2 CDScheduler
init.sch2.protocol supervisor
protocol.supervisor example.update.NaiveScheduler
protocol.supervisor.networking_protocol p2p_net_agent
protocol.supervisor.gossip_protocol gossip
protocol.supervisor.bandwidth_protocol bandwidth
protocol.supervisor.disk_space_protocol disk_space
protocol.supervisor.transport tr
protocol.supervisor.step PROTOCOL_CYCLE
init.sch3 CDScheduler
init.sch3.protocol p2p_net_agent
protocol.p2p_net_agent example.update.NetworkAgent
protocol.p2p_net_agent.neighborhood_protocol neighbor
protocol.p2p_net_agent.bandwidth_protocol bandwidth
protocol.p2p_net_agent.energy_protocol energy
protocol.p2p_net_agent.piece_size 200
protocol.p2p_net_agent.transport tr
protocol.p2p_net_agent.step PROTOCOL_CYCLE
################ controls ==============================
#control.inserter example.update.control.GossipInsert
#control.inserter.gossip_protocol gossip
#control.inserter.network_protocol p2p_net_agent
#control.inserter.size 600
#control.inserter.step CONTROL_CYCLE
control.mover example.update.control.NodeMover
control.mover.coord_protocol localisation
control.mover.map_size map_size
control.mover.step CONTROL_CYCLE
################ Observers ==============================
control.dlProgress example.update.observation.DisseminationObserver
control.dlProgress.transfer_protocol p2p_net_agent
control.dlProgress.jobs_total_count 2
control.dlProgress.sched_protocol supervisor
control.dlProgress.step OBERVERS_CYCLE
control.coordObserver example.update.observation.InetObserver
control.coordObserver.coord_protocol localisation
control.coordObserver.step OBERVERS_CYCLE
control.neighobserver example.update.observation.NeighborsObservers
control.neighobserver.neigbors_protocol neighbor
control.neighobserver.step OBERVERS_CYCLE
control.energyObs example.update.observation.SimpleEnergyObserver
control.energyObs.energy_protocol energy
control.energyObs.step OBERVERS_CYCLE
control.rangeObs example.update.observation.RangeObserver
control.rangeObs.protocol range
control.rangeObs.step OBERVERS_CYCLE
control.StorageObs example.update.observation.StorageObserver
control.StorageObs.protocol disk_space
control.StorageObs.step OBERVERS_CYCLE
################ Order & timings ==============================
order.protocol link,tr,energy,localisation,neighbor,gossip,supervisor,p2p_net_agent
order.control coordObserver,neighobserver,dlProgress,energyObs
# Observers should be run once more at the end
control.schedulerCounter.FINAL true
control.dlProgress.FINAL true
# Observers should not run at first cycle (protocols have not been run yet)
control.dbObserver.from 2
control.dlProgress.from 2
#inserter should run once
control.inserter.from 900
#control.inserter.until 520