Skip to content

实验三的LEACH算法实现是不是有误? #1

@fy-fish

Description

@fy-fish

在论文中,作者是这样描述的:

G is the set of nodes that have not been cluster-heads in the last 1/P rounds.

而你的实现只是简单的为每个node加了一个flag来标志,而这个flag在设置为1后并不会再重新变化。那么随着时间的推移,到最后就不会再有成为簇头的节点了。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions