Research Article

Energy-Efficient Cloudlet Management for Privacy Preservation in Wireless Metropolitan Area Networks

Algorithm 2

Privacy-aware cloudlet identification.
Input: The selected running cloudlets
   The known shortest time vertex set
   The unknown shortest time vertex set
   The collections and
   The VM occupation record
Output: The cloudlet with the shortest time
Get the transmission time between each cloudlet in from to
Add the source cloudlet () to p and set its dis = 0
if is directly connected to the source cloudlet then
end if
sort in the increasing order of the transmission time
  for each cloudlet in   do
   if   +   then
  
end if
  end for
sort    in the increasing order of the transmission time
(12)
(13) return