Research Article

Enhanced Adaptive Cloudlet Placement Approach for Mobile Application on Spark

Algorithm 1

CA (MDP).
Input:
Output: Results of parallel covering with granularity
analysis–A
set of clusters
Begin
(1)center = null
(2)Set = MDP
(3)do
(4) center c get_center(Cu)
(5) radius r get_weight_radius(c,Cu)
(6) Covering = get_covering(c,r,Cu)
(7) c get_centroid()
(8) r get_weight_radius(c,Cu)
(9) Covering = get_covering(c,r,Cu)
(10) while .subtractByKey() > 0
(11)
(12) c get_centroid()
(13) r get_ radius_centroid()
(14) = get_covering(c,r,Cu)
(15) end while
(16) while()
(17) Do Split Operation
(18) Do Merge Operation
(19) return
End