diff --git a/src/main/java/fr/ntr/Main.java b/src/main/java/fr/ntr/Main.java index cd498eb..dee5ce5 100644 --- a/src/main/java/fr/ntr/Main.java +++ b/src/main/java/fr/ntr/Main.java @@ -27,10 +27,12 @@ public class Main { for(int i = 2; i < maximumLoad; i+=2) { List users = generateUsers(i, timeSlotNb, subCarrierNb); ResourceBlock[][] frame = new ResourceBlock[timeSlotNb][subCarrierNb]; - Scheduler scheduler = new MaxSNR(frame, users); + //TODO : changes schedulers + Scheduler schedulerCell1 = new MaxSNR(frame, users); + Scheduler schedulerCell2 = new MaxSNR(frame, users); //TODO : modify cells parameters ? - Cell cell1 = new Cell(scheduler, frame, users, timeSlotNb, subCarrierNb, 0, 50); - Cell cell2 = new Cell(scheduler, frame, users, timeSlotNb, subCarrierNb, 0, 50); + Cell cell1 = new Cell(schedulerCell1, frame, users, timeSlotNb, subCarrierNb, 0, 50); + Cell cell2 = new Cell(schedulerCell2, frame, users, timeSlotNb, subCarrierNb, 0, 50); AccessPoint accessPoint = new AccessPoint(cell1, cell2); accessPoint.startSimulation(numberOfTicks); }