maj mSNR
This commit is contained in:
parent
ef528d2367
commit
d7517d4226
@ -16,13 +16,12 @@ public class MaxSNR extends Scheduler {
|
||||
for(int ts = 0; ts < 2; ts++){
|
||||
for(int sp = 0; sp < 100; sp++){
|
||||
userMax = selectionUtilisateur(sp, ts, users);
|
||||
userMax.getPacketsSent().add(userMax.getPacketsToSend().get(0));
|
||||
userMax.getPacketsToSend().remove(userMax.getPacketsToSend().get(0));
|
||||
frame[ts][sp].setUser(selectionUtilisateur(sp, ts, users));
|
||||
if (userMax.getPacketsToSend() == null) {
|
||||
users.remove(userMax);
|
||||
}else{
|
||||
//sub the packet send need Set packet
|
||||
userMax.getPacketsToSend();
|
||||
}
|
||||
frame[ts][sp].setUser(selectionUtilisateur(sp, ts, users));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user