Research Article
Detection and Countermeasure of Node Misbehaviour in Clustered Wireless Sensor Network
Algorithm 2
Algorithm for avoiding the attacker.
(1) if Attacker-list) then | (2) Do not accept any messages | (3) else | (4) Use their info to form clusters | (5) end if |
|