Research Article

Scheduling for Improving System Capacity in Multiservice 3GPP LTE

Algorithm 1

Algorithm to solve the problem (B.2).
( 1 ) 𝑚 𝑗 0 𝑗
( 2 ) 𝐨 s o r t 𝑗 ( 𝑚 𝑗 ) { Sort in the ascending order }
( 3 ) 𝜃 𝑁
( 4 ) 𝑖 1
( 5 ) while   ( 𝜃 > 0 ) A N D ( 𝑖 𝐽 )   do
( 6 )   𝑗 𝑜 𝑖
( 7 )  If   ( 𝜃 𝑚 𝑗 ) > 0   then
( 8 )    𝑚 𝑗 𝑚 𝑗
( 9 )    𝜃 𝜃 𝑚 𝑗
( 1 0 ) else
( 1 1 )    𝑚 𝑗 𝜃
( 1 2 )    𝜃 0
( 1 3 )  end  if
( 1 4 )   𝑖 𝑖 + 1
( 1 5 ) end  while
( 1 6 ) If   𝜃 > 0   then
( 1 7 )   𝑖 1
( 1 8 )  while   𝜃 > 0   do
( 1 9 )    𝑗 𝑜 𝑖
( 2 0 )    𝑚 𝑗 𝑚 𝑗 + 1
( 2 1 )    𝜃 𝜃 1
( 2 2 )    𝑖 𝑖 + 1
( 2 3 )   if   𝑖 > 𝐽   then
( 2 4 )     𝑖 1
( 2 5 )   end  if
( 2 6 )  end  while
( 2 7 ) end  if
( 2 8 ) Output of the algorithm: 𝐦