Research Article
Edge Server Placement for Service Offloading in Internet of Things
Algorithm 4
Summary of EPMOSO method.
| | Inputs: Sensor collection S, Edge server collection ES, Number of iterations T, Variable t | | | Output: Determined final edge server layout strategy | | (1) | Randomly set the location of the edge server and initialize the chromosome | | (2) | Initialize the velocity of each gene of each chromosome | | (3) | for t = 0 to T do | | (4) | Execute GA algorithm according to Algorithm 2 | | (5) | Execute PSO algorithm according to Algorithm 3 | | (6) | end for | | (7) | Compute the utility value of K chromosomes | | (8) | Use SAW algorithm to determine the final edge server layout strategy | | (9) | return Best Edge Server Layout Strategy |
|