Research Article

Joint Optimization of Resources in Fog-Radio Access Network with Binary Computation Offloading

Algorithm 1

The mapping relationship between and offloading subaction.
(1)Initialization: Let ;
(2)for to do
(3)  for  = 1 to do
(4)   for  = 1 to do
(5)    Mapping [] = [ , ];
(6)    ;
(7)   end for
(8)  end for
(9)end for