Review Article

Resource Caching and Task Migration Strategy of Small Cellular Networks under Mobile Edge Computing

Algorithm 1

An energy consumption optimization strategy for task migration with resource cache
Input: R,
Output:
Begin
 op = 0
  Calculate by formula (23)
  for
   If and  = 0
    op = op + 1
    
    Calculate by formula (15)
    If
     
     Break
    else
     
    else
     If j=N and op = 0
      
     Calculate by formula (15)
  end for
End