Research Article
Research of Multidimensional Optimization of LEACH Protocol Based on Reducing Network Energy Consumption
Table 1
The LEACH protocol running process.
| Input: N sensor nodes deployed, Eo initial energy of nodes, | are 200∗ 200. Nceluster number of clusters in the network. | 1 Flag_NetworkDead = 0; | 2 While (Flag_NetworkDead = = 0) | 3 for c = 1:Nceluster | 4 Select any node for cluser head (CH) of cluster c which satisfies constraint | a. | 5 Select the best cluster head based on equations (4) and (5) | 6 Received packets at CH from all child nodes and transmit to the base station (BS) | 7 Update energy of all the nodes | 8 end | 9 If (all nodes dead) | 10 Flag_Network Dead = 1; | 11 end | 12 end |
|
|