From 526c1172178bab3d4fe01fb691e927d66c6b41e6 Mon Sep 17 00:00:00 2001 From: iboyeau Date: Fri, 3 Mar 2023 11:10:37 +0100 Subject: [PATCH] MaxSnr / roundRobin --- src/main/java/fr/ntr/scheduler/MaxSNR.java | 21 +++++++++++++++++++ .../java/fr/ntr/scheduler/RoundRobin.java | 19 ++++++++++++++--- 2 files changed, 37 insertions(+), 3 deletions(-) diff --git a/src/main/java/fr/ntr/scheduler/MaxSNR.java b/src/main/java/fr/ntr/scheduler/MaxSNR.java index d619ed2..df23422 100644 --- a/src/main/java/fr/ntr/scheduler/MaxSNR.java +++ b/src/main/java/fr/ntr/scheduler/MaxSNR.java @@ -1,8 +1,29 @@ package fr.ntr.scheduler; +import java.util.List; +import fr.ntr.User; public class MaxSNR extends Scheduler { + private String name; + + @Override public void scheduling() { } + + @Override + protected void TraitementDonnées() { + // TODO Auto-generated method stub + + } + + private void selectionUtilisateur(int Ts, int Sp, List Users) { + + } + + public MaxSNR(String name) { + this.name = name; + } + + } diff --git a/src/main/java/fr/ntr/scheduler/RoundRobin.java b/src/main/java/fr/ntr/scheduler/RoundRobin.java index 963c021..8682616 100644 --- a/src/main/java/fr/ntr/scheduler/RoundRobin.java +++ b/src/main/java/fr/ntr/scheduler/RoundRobin.java @@ -1,12 +1,16 @@ package fr.ntr.scheduler; +import java.util.List; + +import fr.ntr.User; + public class RoundRobin extends Scheduler { - private String nom; + private String name; private int index; - public RoundRobin(String nom, int index) { - this.nom = nom; + public RoundRobin(String name, int index) { + this.name = name; this.index = index; } @@ -14,6 +18,15 @@ public class RoundRobin extends Scheduler { public void scheduling() { } + private void selectionUtilisateur(int Ts, int Sp, List Users) { + + } + + @Override + protected void TraitementDonnées() { + // TODO Auto-generated method stub + + }