Research Article

A Gain-Computation Enhancements Resource Allocation for Heterogeneous Service Flows in IEEE 802.16 m Mobile Networks

Algorithm 1

Our sliding window scheme.
BEGIN
for to do
  for to do
(i)  Initialization
   , ;
   ; ; .
(ii)  Subchannel Gain Computation
  Step  (1):
  Calculate the average channel gain avg based on
  the sub-carriers frequency responses where
.
  Step (2):
  Calculate the probability where , with
   and
  if then
   for to do
    if then
.
    end if
   end for
   if then
    return (1).
   else
; Jump to Step (1).
   end if
  end if
   if then
   for to do
    if then
.
    end if
   end for
   if then
    return (1).
   else
; Jump to Step (1)
   end if
  end if
  if then
   for to do
    if then
.
    end if
   end for
    if then
    return (1).
   else
; Jump to Step (1)
   end if
   for to do
    if then
.
    end if
   end for
    if then
    return (1).
   else
    ; Jump to Step (1).
   end if
   return .
  end if
.
 end for
end for
END