-
Notifications
You must be signed in to change notification settings - Fork 0
/
scenario_template.txt
56 lines (47 loc) · 1.74 KB
/
scenario_template.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
## Scenario settings
Scenario.name = ${SCENARIO}_${DATASET_NAME}_${SETTING}_${SETTING_ROUTER}_${ITERATION}
# Connections are provided by external events queue (see Events1)
Scenario.simulateConnections = false
Scenario.updateInterval = 1
Scenario.endTime = ${DATASET_END}
Scenario.nrofHostGroups = 1
Group.groupID = N
Group.nrofHosts = ${DATASET_HOSTS}
## Router parameters
Group.router = ${SETTING_ROUTER}
Group.bufferSize = ${SETTING_BUFFER}
Group.msgTtl = ${SETTING_TTL}
## Network interface parameters
# "Bluetooth" interface for all nodes
btInterface.type = SimpleBroadcastInterface
btInterface.transmitSpeed = 1M
btInterface.transmitRange = 10
Group.nrofInterfaces = 2
Group.interface1 = btInterface
Group.interface2 = btInterface
Events.nrof = 2
ExternalEventsQueue.nrofPreload = 1000
# Load connection events
Events1.class = ExternalEventsQueue
Events1.filePath = datasets/${DATASET_PATH}.txt
# Load message events
Events2.class = ExternalEventsQueue
Events2.filePath = scenarios/${SCENARIO}/${DATASET_NAME}/${SETTING}_${SETTING_ROUTER}_${ITERATION}_messages.txt
## Report parameters
Report.nrofReports = 7
# length of the warm up and cool down periods (simulated seconds)
Report.warmup = ${SETTING_WARMUP}
Report.cooldown = ${DATASET_COOLDOWN}
# default directory of reports
Report.reportDir = reports/${SCENARIO}/${DATASET_NAME}/${SETTING}/${SETTING_ROUTER}
# Report classes to load
Report.report1 = MessageStatsReport
Report.report2 = MessageDeliveryReport
Report.report3 = BufferOccupancyReport
Report.report4 = EncountersVSUniqueEncountersReport
Report.report5 = ContactTimesReport
Report.report6 = InterContactTimesReport
Report.report7 = AdjacencyGraphvizReport
Group.movementModel = StationaryMovement
MovementModel.worldSize = 0, 0
Group.nodeLocation = 0,0