Research Article
An Adaptive Approach to Discriminate the Persistence of Faults in Wireless Sensor Networks
Algorithm 2
Observation state.
(1) Upon entering the observation state the node initializes the penalty | counter and reword counter to one and zero respectively. | (2) At each discrete time a node executes Algorithm 1. | (3) if Detected as faulty then | (4) Reset reward counter, that is, . | (5) if then | (6) Increment the penalty counter by , that is, . | (7) else | (8) . | (9) | (10) else | (11) Increment the reward counter, that is, . | (12) | (13) if and then | (14) Node is reintegrated. | (15) else | (16) Node is isolated. | (17) |
|