View full-text article in PMC Sensors (Basel). 2018 Dec 25;19(1):75. doi: 10.3390/s19010075 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2018 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm 1 Cluster formation algorithm For each (i,j), initialize t←0, ρ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 t←t+1 until|Ui(t+1)−Ui(t)|<σ for all i or t>tmax. Node i chooses Ii as its CH using (23).