Research Article

Fault Tolerant Mobile Sensor Node Traversal Schemes Based on Hexagonal Coverage

Algorithm 2

MSNs traversal algorithm—common traversal pattern.
(1)The value represents the current coordinates of the MSNs.
(2)while     do
(3)if     then
(4)  while     do
(5)   Perform coordination and Predetermined operations at sensing point
(6)    [Move the MSNs to next sensing point]
(7)  end while
(8)  Move MSNs to next column
(9)  
(10)  else
(11)   while     do
(12)    Perform coordination and Predetermined operations at sensing point
(13)     [Move the MSNs to next sensing point]
(14)   end while
(15)   Move MSNs to next column
(16)   
(17)  end if
(18) end while