Research Article

Energy Efficient Distributed Fault Identification Algorithm in Wireless Sensor Networks

Algorithm 2

Random fault identification algorithm.
Data:
Result: Calculate , and
, and
;
for   and   do
  ;
end
if    then
  The node and are identified as likely fault free nodes;
  Assign the node to
else
  for    do
    if  or   then
      
    else
      if   and   then
        
      end
      if   and   then
        
      end
      if   and   then
        
      end
      if   and   then
        
      end
    end
  end
end