This commit is contained in:
iboyeau 2023-03-31 06:24:43 +02:00
parent 1430d4afe5
commit dbdad667d5

View File

@ -19,6 +19,7 @@ public class Main {
boolean reuse3=false;//reuse 1 par def sinon reuse 3
int nbcell = 2; //nombre de cellule que l'on va utilise
try {
numberOfTicks = Integer.parseInt(args[0]);
maximumLoad = Integer.parseInt(args[1]);
@ -36,7 +37,7 @@ public class Main {
//reuse choise
ResourceBlock[][] frame;
if(reuse3){
frame = new ResourceBlock[timeSlotNb/nbcell][subCarrierNb];
frame = new ResourceBlock[timeSlotNb][subCarrierNb/nbcell];
} else {
frame = new ResourceBlock[timeSlotNb][subCarrierNb];
}