starting cell

This commit is contained in:
iboyeau 2023-03-24 09:40:05 +01:00
parent 2c1c2819f3
commit ee09401244
3 changed files with 23 additions and 9 deletions

View File

@ -0,0 +1,13 @@
package fr.ntr;
import fr.ntr.scheduler.MaxSNR;
import fr.ntr.scheduler.Scheduler;
import java.util.ArrayList;
import java.util.List;
public class Cell {
public static void createCell() {
}
}

View File

@ -10,7 +10,6 @@ import java.util.List;
public class Main { public class Main {
public static void main(String[] args) { public static void main(String[] args) {
if(args.length == 2) { if(args.length == 2) {
int numberOfTicks; // Nombre de ticks de la simulation -> durée de la simulation int numberOfTicks; // Nombre de ticks de la simulation -> durée de la simulation
int maximumLoad; // Nombre maximal d'utilisateurs dans le système int maximumLoad; // Nombre maximal d'utilisateurs dans le système

View File

@ -2,18 +2,20 @@ package fr.ntr.scheduler;
import java.util.List; import java.util.List;
import fr.ntr.ResourceBlock;
import fr.ntr.User; import fr.ntr.User;
public class ProportionalFair extends Scheduler { public class ProportionalFair extends Scheduler {
private String name; private String name;
private int index; private List<User> users;
private ResourceBlock[][] frame;
public ProportionalFair(String name, int index) {
this.name = name;
this.index = index;
}
public ProportionalFair(String name, ResourceBlock[][] frame, List<User> users) {
this.name = name;
this.frame = frame;
this.users = users;
}
@Override @Override
public void scheduling() { public void scheduling() {
} }