Algorithms

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Algorithm 1 Radio Resource Allocation

1: N1n = [f1 , f2 , f3 , ... fn ]


2: Bandwith = [A, B, C, D]
3: MC ← A; ME1 ← B; ME2 ← C; ME3 ← D
4: FC ← [B + C + D]; FE1 ← [A + C + D]; FE2 ← [A + B + D]; FE3 ←
[A + B + C]
5: fi ← Fx /Nx
6: while i ≤ N do
7: for j = 1 to N do
8: if Di,j ≤ λ && i 6= j then
9: Ii ← fj
10: end if
11: end for
12: end while

1
Algorithm 2 Tx power control
1: N1n = [f1 , f2 , f3 , ... fn ]
2: F BStotal = n
3: I1n = φ
4: Θn 1 = [I1 , I2 , I3 , ... In ]
5: while i ≤ n do
6: while j ≤ n do
7: if Di ≤ λi && i 6= j then
8: Ii ← fj
9: end if
10: end while
11: end while
12: while x ≤ n do
13: for y ≤ n do
14: if Θ (x, y) == x && x 6= y then
15: θx ← θx + 1;
16: end if
17: end for
σx ← F BSθxtotal
T xx = (T x[max] − (T x[max] ∗ σx ))
18: end while

You might also like