independent cell scheduler
This commit is contained in:
parent
98a1222f71
commit
b0f96e4173
@ -27,10 +27,12 @@ public class Main {
|
||||
for(int i = 2; i < maximumLoad; i+=2) {
|
||||
List<User> 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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user