Skip to main content
. 2017 Jun 28;7:4320. doi: 10.1038/s41598-017-04010-2
Algorithm 4: Operation when edge switching adjustment is rejected
1: if(G k‘ is not connected or avgGk < avgGk) then
2:   num Gknum Gk + 1;
3:   sum Gksum Gk + C(G k);
4:   avg Gksum Gk/num Gk;
5:   if(Flag List) then
6:     record_synchronize (i, sum, num)
7:   end if;
8: end if;