Research Article

Edge Sensing-Enabled Multistage Hierarchical Clustering Deredundancy Algorithm in WSNs

Algorithm 1

ImpkMeans(,).
Input:
Output: Result of cluster division
Randomly choses sample from L as initial mean vector
Repeat
Fordo
  Solving the distance and all kinds of
  The cluster marker of is determined according to the nearest mean vector
  
End For
Fordo
  
  If then
   
  Else
   Keeping the current mean vector not to change
  End If
End For
Until The current mean vectors are not updated