Research Article

Mobile Fog Computing-Assisted Resource Allocation for Two-Hop SWIPT OFDM Networks

Algorithm 1

Resource allocation algorithm.
(1) Find the optimal from (12).
(2) Calculate the optimal with the obtained from (18).
(3) Calculate the optimal with the obtained and from (22).