Skip to content

how to update the radius in local join? #25

@justdoit1990

Description

@justdoit1990

I am reading the source code. But I have a question about the local join in KGraphConstruction class.
I don't understand the update progress of the radius of Nhood. In init(), the radius is set to numeric_limits::max(). And the size of nhood.pool is set to param.L. After the join process, the radius is updated to nhood.pool.back().dist. But if the neighbors can not fill the pool size(param.L), the radius would be set to 0. This is confusing. Can you please explain the updating of radius in the construction process of KGraphConstruction?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions