Research Article

Integrated Environment of Metaheuristics for Optimal Data Collection in Wireless Sensor Network with Mobile Sink

Algorithm 4

Simulated annealing for the mobility of Sink.
; Initial Solution: Initial Trajectory ()
; Calculate the cost of the solution using (Objective Function)
; Initiate Temperature
Repeat
A random neighbor of the solution (Algorithm 3);
; Calculate the quality of the solution
If () Then
;
;
Else
With the probability ;
;
EndIf
; Update the temperature , with
Until (Stop Condition);
Return  Sol.