get/set RessourceBock

This commit is contained in:
iboyeau 2023-03-10 08:30:28 +01:00
parent 01b82d7ef4
commit 28f14a5447

View File

@ -1,5 +1,6 @@
package fr.ntr; package fr.ntr;
import java.lang.reflect.Array;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.Random; import java.util.Random;
@ -41,6 +42,7 @@ public class AccessPoint {
/** /**
* Lancer la simulation * Lancer la simulation
*
* @param duration * @param duration
*/ */
public void startSimulation(int duration, int nbUsers) { public void startSimulation(int duration, int nbUsers) {
@ -87,4 +89,11 @@ public class AccessPoint {
public int getFrameSize() { public int getFrameSize() {
return this.timeSlotNb * this.subCarrierNb; return this.timeSlotNb * this.subCarrierNb;
} }
public ResourceBlock[][] getFrame() {
return frame;
}
public void setFrame(ResourceBlock[][] frame) {
this.frame = frame;
}
} }