Research Article
Energy-Efficient Unequal Chain Length Clustering for Wireless Sensor Networks in Smart Cities
Algorithm 2
Chain construction phase.
() On receiving from cluster head | () | () if cluster_head = True then | () | () for each node in cluster do | (6) if then | (7) if then | (8) | (9) | (10) end if | (11) else | (12) EXIT; | (13) end if | (14) end for | (15) end if |
|