Research Article

[Retracted] SAP: An IoT Application Module Placement Strategy Based on Simulated Annealing Algorithm in Edge-Cloud Computing

Algorithm 1

Simulated annealing module placement strategy (SAP).
Input: sensors, edge servers table , applications , communication latency between edge servers ;
Initialization:
Set the start temperature Temp, , loop count, End temperature ;
Start:
Generate the initial module placement p_temp;
Whiledo:
i=1;
Whilei<loop count do:
value_tempEvalueate(p_temp);
p_newAlgorithm2GenerateNewChain(A, p_temp, value_temp);
value_newEvalueate(p_new);
= value_new – value_temp;
ifthen:
p_temp = p_new;
else ifthen:
p_temp = p_new;
end if
i+1;
end while
T←T×cooling rate;
end while
Output: module placement ;