Research Article

Edge Computing Server Placement Strategy Based on SPEA2 in Power Internet of Things

Algorithm 1

IGA-ESP.
Input: maximum number of iterations I
Output: optimal service placement strategy OP
(1) getting service set
(2)for to S do
(3)  
(4)  whiledo
(5)   mutating and crossover
(6)   for all individuals in the population do
(7)    calculating using (10)
(8)    calculating using (12)
(9)    calculating using (19)
(10)   end for
(11)   selecting and confirming the offspring
(12)   
(13)  end while
(14)  estimating the relative proximity according to (26)
(15)  selecting the best service placement strategy OP according to (27)
(16)end for
(17)return OP