Skip to content

nhoods[n].found in wrong place #28

@gchen2101

Description

@gchen2101

In my opinion, the line
nhoods[n].found = uu > 0;
should be deleted, but put a line in parallel_try_insert()
if(l<params.K) found = true
before the last line
return l;
image
Becasue update() checks nhood.found to find a new radiusM. These actions (check and find) are about the node itself, not its neighbors.
image

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