Skip to main content
. 2018 Nov 8;18(11):3829. doi: 10.3390/s18113829
Algorithm 2. Processing of ALARM Message
/*Upon a cluster node vx receiving an ALARM message for vy broadcast by node vz*/
if (it is the first ALARM message sent by vz for vy)
NAy = NAy + 1;
if (NAyNc/2) {
 Delete vy from the trusted neighbor list;
 Add vy into the isolation list;
}