Research Article

Prolonging the Lifetime of Two-Tiered Wireless Sensor Networks with Mobile Relays

Algorithm 1

The relay node movement algorithm.
For each do
     
     for each , do
     if , do
         
         if do
            
         end
      end
     end
end