From fb37cd6d62e968bda9bf4cee4651e40132b6ffc7 Mon Sep 17 00:00:00 2001 From: Tr1xt4n Date: Fri, 10 Mar 2023 09:29:10 +0100 Subject: [PATCH] conf --- src/main/java/fr/ntr/scheduler/MaxSNR.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/fr/ntr/scheduler/MaxSNR.java b/src/main/java/fr/ntr/scheduler/MaxSNR.java index d81bb8a..7f50f67 100644 --- a/src/main/java/fr/ntr/scheduler/MaxSNR.java +++ b/src/main/java/fr/ntr/scheduler/MaxSNR.java @@ -14,7 +14,7 @@ public class MaxSNR extends Scheduler { User selectedUser = null; double maxSNR= 0; for (User user : Users) { - double snr = (Math.log(1 + effSpect) / Math.log(2)); + double snr = ; if (snr > maxSNR) { maxSNR = snr; selectedUser = user;