Skip to main content
. 2022 Jul 22;22(15):5475. doi: 10.3390/s22155475
Algorithm 1 Network Partition Algorithm
Input GN,E, Delay matrix, Security matrix, Load matrix, iteration g
Output The number of controllers k
1 Computing X and setting preference p
2 Initialize the responsibility matrix and the availability matrix
3 for g0≤ g or cluster center update do
4   Iteratively update responsibility and availability according to Equations (24) and (25)
5   g0 = g0 + 1
6 end for
7 Calculate the number of cluster centers
8 return the number of cluster centers