Research Article
Grid-Based Hybrid Network Deployment Approach for Energy Efficient Wireless Sensor Networks
Algorithm 5
Zone head reselection process.
| (1) procedure ZONE HEAD RESELECTION | | (2) Input: Energy Level of Current Zone Head, ; Threshold Value, TV; | | Cumulative Value of each node, CV; Candidate Zone Head, CZH; | | difference of Initial and updated CV, ; | | (3) if then | | (4) if then | | (5) Ask first CZH to send updated CV | | (6) if first CZH reply exceeds timer then | | (7) Fetch CV from second CZH | | (8) else | | (9) Compare updated_CV and initial_CV | | (10) if then | | (11) Select first CZH as new ZH | | (12) | | (13) | | (14) else | | (15) Fetch CV from second CZH | | (16) end if | | (17) end if | | (18) else | | (19) Remain as ZH | | (20) end if | | (21) else | | (22) Continue Transmission | | (23) end if | | (24) end procedure | | (25) Output: New Zone Head, . |
|