Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heuristic Selection in getNeighborsByHeuristic2 #606

Open
mesibo opened this issue Dec 16, 2024 · 0 comments
Open

Heuristic Selection in getNeighborsByHeuristic2 #606

mesibo opened this issue Dec 16, 2024 · 0 comments

Comments

@mesibo
Copy link

mesibo commented Dec 16, 2024

We are testing HNSW and have a question about the parameter passed to the getNeighborsByHeuristic2(). Should the number of elements selected by the heuristic be Mcurmax instead of M_?

The current code on line 513 passes M_ as a parameter, but would it make more sense for this to be Mcurmax?

getNeighborsByHeuristic2(top_candidates, M_);

Any clarification or insight would be greatly appreciated.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant