fuck my life, this is so bad
This commit is contained in:
@@ -28,7 +28,7 @@ import java.util.*;
|
||||
|
||||
public class Birbnetes {
|
||||
static int numOfFogDevices = 2;
|
||||
static int numOfClientsPerFogDevice = 10;
|
||||
static int numOfClientsPerFogDevice = 1;
|
||||
static List<FogDevice> fogDevices = new ArrayList<>();
|
||||
static Map<String, Integer> getIdByName = new HashMap<>();
|
||||
static List<Sensor> sensors = new ArrayList<>();
|
||||
@@ -117,7 +117,7 @@ public class Birbnetes {
|
||||
"OutputData");
|
||||
actuators.add(actuator);
|
||||
sensor.setGatewayDeviceId(lowLevelFogDevice.getId());
|
||||
sensor.setLatency(6.0);
|
||||
sensor.setLatency(10.0);
|
||||
actuator.setGatewayDeviceId(lowLevelFogDevice.getId());
|
||||
actuator.setLatency(1.0);
|
||||
return lowLevelFogDevice;
|
||||
@@ -156,7 +156,7 @@ public class Birbnetes {
|
||||
Log.printLine("Starting Birbnetes...");
|
||||
|
||||
try {
|
||||
Log.disable();
|
||||
//Log.disable();
|
||||
int num_user = 1; // number of cloud users
|
||||
Calendar calendar = Calendar.getInstance();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user