Research Article

Enhanced Adaptive Cloudlet Placement Approach for Mobile Application on Spark

Algorithm 3

Enhanced adaptive cloudlets placement (G).
Input:
Output: The moving trace of all cloudlets
Begin
(1) for = 1 to
(2)do
(3) Algorithm 2 (MDP, V)
(4) CCP through Confirmation of center positions operation
(5) Locations selection mechanism
(6) for = 1 to
(7) do
(8) if have selected a cp then
(9) shortest trace from to its selected algorithm
(10) transmit as the moving description to
(11) end if
(12) end for
(13) end for
End