-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConfig.java
More file actions
executable file
·47 lines (39 loc) · 1.48 KB
/
Copy pathConfig.java
File metadata and controls
executable file
·47 lines (39 loc) · 1.48 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
package app.config;
/**
* Holds configuration constants used throughout the sensor network application.
* This class provides a central location for managing settings related to time synchronization,
* simulation parameters, and network architecture.
*/
public class Config {
/**
* The URI for the clock server used in the network to synchronize time across components.
*/
public static final String TEST_CLOCK_URI = "Clock-network-sensor";
/**
* The ISO 8601 string representation of the start instant for the simulation or operation.
*/
public static final String START_INSTANT = "2024-03-18T20:05:00.00Z";
/**
* The initial delay in milliseconds before starting the simulation or network operations.
*/
public static final long START_DELAY = 8000L;
/**
* The factor by which time is accelerated in the simulation, aiding in faster execution
* of time-dependent processes.
*/
public static final double ACCELERATION_FACTOR = 60.0;
/**
* The number of clients in the network simulation or configuration.
*/
public static final int NBCLIENT = 4;
/**
* The number of nodes in the network simulation or configuration.
*/
public static final int NBNODE = 50;
/**
* The number of columns in the network layout or graphical representation,
* used in arranging the visual components.
*/
public static final int COLUM = 5;
public static final boolean ASYNC = true;
}