correct
This commit is contained in:
parent
1430d4afe5
commit
dbdad667d5
@ -19,6 +19,7 @@ public class Main {
|
|||||||
boolean reuse3=false;//reuse 1 par def sinon reuse 3
|
boolean reuse3=false;//reuse 1 par def sinon reuse 3
|
||||||
int nbcell = 2; //nombre de cellule que l'on va utilise
|
int nbcell = 2; //nombre de cellule que l'on va utilise
|
||||||
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
numberOfTicks = Integer.parseInt(args[0]);
|
numberOfTicks = Integer.parseInt(args[0]);
|
||||||
maximumLoad = Integer.parseInt(args[1]);
|
maximumLoad = Integer.parseInt(args[1]);
|
||||||
@ -36,7 +37,7 @@ public class Main {
|
|||||||
//reuse choise
|
//reuse choise
|
||||||
ResourceBlock[][] frame;
|
ResourceBlock[][] frame;
|
||||||
if(reuse3){
|
if(reuse3){
|
||||||
frame = new ResourceBlock[timeSlotNb/nbcell][subCarrierNb];
|
frame = new ResourceBlock[timeSlotNb][subCarrierNb/nbcell];
|
||||||
} else {
|
} else {
|
||||||
frame = new ResourceBlock[timeSlotNb][subCarrierNb];
|
frame = new ResourceBlock[timeSlotNb][subCarrierNb];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user