Skip to content

Start searching on each layer with the nearest neighbor instead? #135

@tanliboy

Description

@tanliboy

I ran into this code.

currObj = top_candidates.top().second;

The top_candidates is a max heap, and we start searching on each layer with the farest neighbor of candidates on last layer.

Should we start with the nearest neighbor instead? Or did I miss anything? Thanks!

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