Research Article

Grid-Based Hybrid Network Deployment Approach for Energy Efficient Wireless Sensor Networks

Algorithm 2

Merging of zones.
(1) procedure  MERGING OF ZONES
(2) Input: height and width of deployment area, ; lower bound for merging, LB;
    number of zones, ; weighted score for distance, ; weighted score for density, ;
(3)    for Zn = 1 to   do
(4)    if    then
(5)     
(6)     
(7)     
(8)     Determine the nodes in current zone (Zn)
(9)     for   to length(NodesInZn)  do
(10)      for   to length(nz)  do
(11)        
(12)        
(13)        
(14)      end for
(15)      
(16)      Assign node to new zone
(17)     end for
(18)     Eliminate merged zone
(19)    end if
(20)    end for
(21) end procedure