Research Article

A New Swap-Based Frequency-Domain Packet Scheduling Algorithm in OFDMA System with Data Queue Size Constraints

Algorithm 2

New swap-based FDPS algorithm.
(1)  Let be the PF metric (2) value of user on PRB and is the total number of PRBs
(2)  for PRB = 1 to do
(3)  pick the best user with largest value on PRB
(4)  Let be the set of users and where is the set of PRBs
   have already been assigned to user
(5)  if
(6)   select the user
(7)   if
(8)    re-assign PRB to user where PRB is the max-rate PRB already assigned to user
(9)    assign PRB to user
(10)   update the data queue size of user and user
(11)  else
(12)   assign PRB to user
(13)   update the data queue size of user
(14)  end if
(15)   else
(16)  assign PRB to user
(17)  update the data queue size of user
(18)   end if
(19) end for