From f7d751b07a8a3d6aaab40042cd9fc8cfcafbc2e1 Mon Sep 17 00:00:00 2001 From: Tr1xt4n Date: Fri, 10 Mar 2023 12:07:18 +0100 Subject: [PATCH] maxsnr v1 corrige --- src/main/java/fr/ntr/scheduler/MaxSNR.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/fr/ntr/scheduler/MaxSNR.java b/src/main/java/fr/ntr/scheduler/MaxSNR.java index 2a1fefe..a762cda 100644 --- a/src/main/java/fr/ntr/scheduler/MaxSNR.java +++ b/src/main/java/fr/ntr/scheduler/MaxSNR.java @@ -12,8 +12,8 @@ public class MaxSNR extends Scheduler { @Override public void scheduling() { User userMax = null; - for(int ts = 0; ts < 2; i++){ - for(int sp = 0; sp < 100; j++){ + for(int ts = 0; ts < 2; ts++){ + for(int sp = 0; sp < 100; sp++){ userMax = selectionUtilisateur(sp, ts, users); } }