starting cell
This commit is contained in:
parent
2c1c2819f3
commit
ee09401244
13
src/main/java/fr/ntr/Cell.java
Normal file
13
src/main/java/fr/ntr/Cell.java
Normal 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() {
|
||||
}
|
||||
}
|
@ -10,7 +10,6 @@ import java.util.List;
|
||||
public class Main {
|
||||
|
||||
public static void main(String[] args) {
|
||||
|
||||
if(args.length == 2) {
|
||||
int numberOfTicks; // Nombre de ticks de la simulation -> durée de la simulation
|
||||
int maximumLoad; // Nombre maximal d'utilisateurs dans le système
|
||||
|
@ -2,18 +2,20 @@ package fr.ntr.scheduler;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import fr.ntr.ResourceBlock;
|
||||
import fr.ntr.User;
|
||||
|
||||
public class ProportionalFair extends Scheduler {
|
||||
|
||||
private String name;
|
||||
private int index;
|
||||
private List<User> users;
|
||||
private ResourceBlock[][] frame;
|
||||
|
||||
public ProportionalFair(String name, int index) {
|
||||
public ProportionalFair(String name, ResourceBlock[][] frame, List<User> users) {
|
||||
this.name = name;
|
||||
this.index = index;
|
||||
this.frame = frame;
|
||||
this.users = users;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void scheduling() {
|
||||
}
|
||||
|
Reference in New Issue
Block a user