Research Article

Hybrid Recovery Strategy Based on Random Terrain in Wireless Sensor Networks

Algorithm 4

HRSRT with .
Input: A set of disjoint segments, .
Output: A data collection and aggregation tour .
.
for each   do
  Deploy   RNs along path and mark the last deployed   
  Deploy   RNs along path and mark the last deployed   
end for
if    then
  for  all    do
   Choose as a tour
  end  for
else
  for  all      do
   Choose as a tour
  end  for
  Choose as a MDC tour for the last MDC
end  if
for  all  s do
  
end  for