From a6dada5da519132cd0e223605f5f308a625f3fb9 Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Fri, 3 Mar 2023 11:30:35 +0100 Subject: [PATCH 1/2] Renae a fn --- src/main/java/fr/ntr/User.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/fr/ntr/User.java b/src/main/java/fr/ntr/User.java index c5dac1c..ad45b57 100644 --- a/src/main/java/fr/ntr/User.java +++ b/src/main/java/fr/ntr/User.java @@ -26,7 +26,10 @@ public class User { } - public double calculateDelta() { + /** + * calculDélai + */ + public double calculateLatency() { return 0d; } From 0aeb553daa9da8dda70b8782ee242cd86536b7aa Mon Sep 17 00:00:00 2001 From: iboyeau Date: Fri, 3 Mar 2023 11:31:29 +0100 Subject: [PATCH 2/2] =?UTF-8?q?suppr=20traitement=20de=20donn=C3=A9e=20max?= =?UTF-8?q?Snr=20+=20roundRobin?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/fr/ntr/scheduler/MaxSNR.java | 6 ------ src/main/java/fr/ntr/scheduler/RoundRobin.java | 10 +++------- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/src/main/java/fr/ntr/scheduler/MaxSNR.java b/src/main/java/fr/ntr/scheduler/MaxSNR.java index 86c72a1..41e0ceb 100644 --- a/src/main/java/fr/ntr/scheduler/MaxSNR.java +++ b/src/main/java/fr/ntr/scheduler/MaxSNR.java @@ -10,12 +10,6 @@ public class MaxSNR extends Scheduler { @Override public void scheduling() { } - - @Override - protected void TraitementDonnées() { - // TODO Auto-generated method stub - - } private void selectionUtilisateur(int Ts, int Sp, List Users) { diff --git a/src/main/java/fr/ntr/scheduler/RoundRobin.java b/src/main/java/fr/ntr/scheduler/RoundRobin.java index 7fe0db0..07b59c1 100644 --- a/src/main/java/fr/ntr/scheduler/RoundRobin.java +++ b/src/main/java/fr/ntr/scheduler/RoundRobin.java @@ -1,9 +1,9 @@ package fr.ntr.scheduler; - import java.util.List; - +import java.util.Random; import fr.ntr.User; + public class RoundRobin extends Scheduler { private String name; @@ -22,11 +22,7 @@ public class RoundRobin extends Scheduler { } - @Override - protected void TraitementDonnées() { - // TODO Auto-generated method stub - - } +