-
Notifications
You must be signed in to change notification settings - Fork 0
/
Network.ned
31 lines (23 loc) · 1.19 KB
/
Network.ned
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
network Network
{
parameters:
int numClients = default(5);
double linkDelay @unit(s) = default(10ms);
double stopEventTime @unit(s) = default(2d); // Parameter to set the time to stop tsending room creation and chat messages before the simulation ends
double createRoomMinTime @unit(s) = default(10min);
double createRoomMaxTime @unit(s) = default(2h);
double createRoomProbability = default(0.2);
double sendMessageMinTime @unit(s) = default(10s);
double sendMessageMaxTime @unit(s) = default(30min);
double sendMessageProbability = default(0.5);
double resendCreationTime @unit(s) = default(1min);
double askMessagesMinTime @unit(s) = default(5min);
double askMessagesMaxTime @unit(s) = default(10min);
double deleteRoomMinTime @unit(s) = default(1h);
double deleteRoomMaxTime @unit(s) = default(12h);
double deleteRoomProbability = default(0.2);
double partitionMinTime @unit(s) = default(5min);
double partitionMaxTime @unit(s) = default(1h);
double endPartitionMinTime @unit(s) = default(5min);
double endPartitionMaxTime @unit(s) = default(1h);
}