conf
This commit is contained in:
parent
2d871bc4f6
commit
fb37cd6d62
@ -14,7 +14,7 @@ public class MaxSNR extends Scheduler {
|
|||||||
User selectedUser = null;
|
User selectedUser = null;
|
||||||
double maxSNR= 0;
|
double maxSNR= 0;
|
||||||
for (User user : Users) {
|
for (User user : Users) {
|
||||||
double snr = (Math.log(1 + effSpect) / Math.log(2));
|
double snr = ;
|
||||||
if (snr > maxSNR) {
|
if (snr > maxSNR) {
|
||||||
maxSNR = snr;
|
maxSNR = snr;
|
||||||
selectedUser = user;
|
selectedUser = user;
|
||||||
|
Reference in New Issue
Block a user