Research Article

A Source-Initiated On-Demand Routing Algorithm Based on the Thorup-Zwick Theory for Mobile Wireless Sensor Networks

Algorithm 2

Allocating status information from sensor nodes via covering nodes.
AlgorithmallocStatus(s)
for   to  p
 get covered sensor nodes of c as
for   to  q
  
   getStatusVector(u)
  info
  sendInfo(u, info, c)
end loop
forwardInfo(c, s)
end loop