Enhanced Adaptive Cloudlet Placement Approach for Mobile Application on Spark
Table 2
Explanations of functions.
Functions
Explanation
get_center(Cu)
Denotes a function has the function of obtaining the center of the data set . The specific acquisition process of the center of the circle is to calculate the data point closest to the center of gravity of the data set .
get_weight_radius(c,Cu)
Denotes a function has the function of obtaining the weighted radius based on center c and data set .
get_covering(c,r,Cu)
Denotes a function has the function of obtaining the centroids of the current spheres continually according to the obtained center and radius and obtain new clusters until the number of clusters in the data points does not increase.
get_centroid()
Denotes a function has the function of obtaining the center of gravity of data set .
Split Operation
Denote a function has the function of combing the most similar pair of clusters into a new cluster.
Merge Operation
Denote a function has the function of splitting the clusters with more data points.