-
Notifications
You must be signed in to change notification settings - Fork 3
/
test.txt
125 lines (93 loc) · 3.79 KB
/
test.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
################### Settings ======================
#debug.config false
MAX_RANGE 300
#simulation.cycles 100
OBERVERS_CYCLE 50
PROTOCOL_CYCLE 20
CONTROL_CYCLE 50
battery_failure_probability 50
network.size 35
map_size 1000
random.seed 1234567890
simulation.endtime 100000
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.1.nodes_location_file nodes_position.csv
init.2 example.update.initialisation.GossipInitializer
init.2.gossip_protocol gossip
################### protocols ===========================
protocol.link IdleProtocol
protocol.energy example.update.constraints.energy.EnergyProxy
protocol.localisation example.update.constraints.NodeCoordinates
protocol.neighbor example.update.NeighborhoodMaintainer
protocol.neighbor.coord_protocol localisation
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.db example.update.SoftwareDB
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.Scheduler
protocol.supervisor.database_protocol db
protocol.supervisor.gossip_protocol gossip
protocol.supervisor.bandwidth 1
protocol.supervisor.disk_space 1000
protocol.supervisor.transport tr
protocol.supervisor.step PROTOCOL_CYCLE
################ controls ==============================
control.nodemover example.update.control.NodeMover
control.nodemover.coord_protocol localisation
control.nodemover.map_size map_size
control.nodemover.step CONTROL_CYCLE
#control.nodemover.data_file nodes_position.csv
control.switcher example.update.control.EnergySwitcher
control.switcher.energy_protocol energy
control.switcher.energy_switching_probability battery_failure_probability
control.switcher.step CONTROL_CYCLE*3
################ Observers ==============================
#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.energyobserver example.update.observation.SimpleEnergyObserver
#control.energyobserver.energy_protocol energy
#control.energyobserver.step OBERVERS_CYCLE
control.dbObserver example.update.observation.SoftwareDBObserver
control.dbObserver.database_protocol db
control.dbObserver.step OBERVERS_CYCLE*10
control.schedulerCounter example.update.observation.SchedulerJobsCounter
control.schedulerCounter.protocol supervisor
control.schedulerCounter.step OBERVERS_CYCLE
################ Order & timings ==============================
order.protocol link,tr,energy,localisation,db,neighbor,gossip,supervisor
#order.control coordObserver,energyobserver,neighobserver,dbObserver,nodemover,switcher
order.control schedulerCounter,dbObserver,nodemover,switcher
# Observers should be run once more at the end
#control.neighobserver.FINAL true
#control.energyobserver.FINAL true
#control.coordObserver.FINAL true
#control.dbObserver.FINAL true
control.schedulerCounter.FINAL true
# Observers should not run at first cycle (protocols have not been run yet)
#control.neighobserver.from 2
#control.energyobserver.from 2
#control.coordObserver.from 2
control.dbObserver.from 2