-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnew_conf
More file actions
67 lines (53 loc) · 1.5 KB
/
new_conf
File metadata and controls
67 lines (53 loc) · 1.5 KB
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
# network size
SIZE 1000
# parameters of periodic execution
CYCLES 100
CYCLE SIZE
# parameters of message transfer
# delay values here are relative to cycle length, in percentage,
# eg 50 means half the cycle length, 200 twice the cycle length, etc.
MINDELAY 0
MAXDELAY 0
# drop is a probability, 0<=DROP<=1
DROP 0
random.seed 1234567890
network.size SIZE
simulation.endtime 15000
simulation.logtime 1000
simulation.experiments 100
################### protocols ===========================
##protocol.link peersim.core.IdleProtocol
protocol.link peertest.NetworkOverlay
protocol.link.cycle 1000
protocol.avg peertest.NodeStateHolder
protocol.avg.linkable link
protocol.avg.step CYCLE
protocol.avg.transport tr
protocol.avg.overlay link
protocol.urt UniformRandomTransport
protocol.urt.mindelay (CYCLE*MINDELAY)/100
protocol.urt.maxdelay (CYCLE*MAXDELAY)/100
protocol.tr UnreliableTransport
protocol.tr.transport urt
protocol.tr.drop DROP
################### initialization ======================
##init.sw WireScaleFreeDM
##init.sw.k 2
##init.sw.protocol link
##init.rndlink WireKOut
##init.rndlink.k 2
##init.rndlink.protocol link
init.net peertest.GenerateModularNetwork
init.net.beta 0.2
init.net.cluster_size 100
init.net.k 4
init.net.overlay_protocol link
init.xnet peertest.InfectionInit
init.xnet.protocol avg
init.sch CDScheduler
init.sch.protocol avg
init.sch.randstart
################ control ==============================
control.1 peertest.AggregationObserver
control.1.protocol avg
control.1.step CYCLE