From 4505f522ada2f5bcfd97c104248ab559e3875f5b Mon Sep 17 00:00:00 2001 From: loris penven Date: Fri, 3 Mar 2023 11:47:53 +0100 Subject: [PATCH] better comments --- src/main/java/fr/ntr/AccessPoint.java | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/src/main/java/fr/ntr/AccessPoint.java b/src/main/java/fr/ntr/AccessPoint.java index 5cc5066..6433a96 100644 --- a/src/main/java/fr/ntr/AccessPoint.java +++ b/src/main/java/fr/ntr/AccessPoint.java @@ -7,10 +7,22 @@ import fr.ntr.scheduler.Scheduler; public class AccessPoint { private List users; private Scheduler scheduler; - private static int timeSlotNb; // nombre de slots - private static int subCarrierNb; // nombre de sous-porteuses - private ResourceBlock[][] frame; // trame - private double leftForNextSource; // reste pour la prochaine source + /** + * nombre de slots + */ + private static int timeSlotNb; + /** + * nombre de sous-porteuses + */ + private static int subCarrierNb; + /** + * trame + */ + private ResourceBlock[][] frame; + /** + * reste pour la prochaine source + */ + private double leftForNextSource; public AccessPoint(List users, Scheduler scheduler, ResourceBlock[][] frame, double leftForNextSource) {