Skip to main content
. 2018 Dec 25;19(1):75. doi: 10.3390/s19010075
Algorithm 1 Cluster formation algorithm

For each (i,j), initialize t0, ρij(t)0, and αij(t)0.

repeat

 Update αij(t) using (21) and send to neighbors.

 Update ρij(t+1) using (22) and send to neighbors.

 Increment tt+1

until|Ui(t+1)Ui(t)|<σ for all i or t>tmax.

Node i chooses Ii as its CH using (23).