在论文中,作者是这样描述的: > G is the set of nodes that have not been cluster-heads in the last 1/P rounds. 而你的实现只是简单的为每个node加了一个flag来标志,而这个flag在设置为1后并不会再重新变化。那么随着时间的推移,到最后就不会再有成为簇头的节点了。