get/set RessourceBock
This commit is contained in:
parent
01b82d7ef4
commit
28f14a5447
@ -1,5 +1,6 @@
|
||||
package fr.ntr;
|
||||
|
||||
import java.lang.reflect.Array;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
@ -41,6 +42,7 @@ public class AccessPoint {
|
||||
|
||||
/**
|
||||
* Lancer la simulation
|
||||
*
|
||||
* @param duration
|
||||
*/
|
||||
public void startSimulation(int duration, int nbUsers) {
|
||||
@ -87,4 +89,11 @@ public class AccessPoint {
|
||||
public int getFrameSize() {
|
||||
return this.timeSlotNb * this.subCarrierNb;
|
||||
}
|
||||
|
||||
public ResourceBlock[][] getFrame() {
|
||||
return frame;
|
||||
}
|
||||
public void setFrame(ResourceBlock[][] frame) {
|
||||
this.frame = frame;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user