Research Article

Smart Application Division and Time Allocation Policy for Computational Offloading in Wireless Powered Mobile Edge Computing

Algorithm 1

DOTP algorithm.
Input:
Output:
(1)fordo
(2)fordo
(3)  
(4)  
(5)  fordo
(6)   ifthen
(7)    whiledo
(8)      (1)
(9)      (2)
(10)      (3)
(11)    end while
(12)    
(13)   else
(14)    
(15)    fordo
(16)     whiledo
(17)       (11)
(18)       (12)
(19)       (17)
(20)       (20)
(21)       (13)
(22)     end while
(23)    end for
(24)   end if
(25)   
(26)   
(27)  end for
(28)  
(29)  
(30)end for
(31)
(32)
(33)
(34)end for
(35)
(36)
(37)
(38)
(39)Save inputs:
(40)Save outputs:
(41)Repeat this for different size of applications
(42)Train the DNN:
(43)Test trained DNN
(44)Accuracy  number of correct decisions/number of total decisions