-
Notifications
You must be signed in to change notification settings - Fork 712
Remove temlate interface searchKnn #225
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
Conversation
2. add asser.h, or it will not compile
Why is this pr not merged? |
Thanks for the PR! And sorry for an extremely late response. |
Thank you for your reply. So we should only keep the following interface Line 73 in 2571bdb
And add interfaces like |
Yes. That would work! |
|
Hi @uestc-lfs , after some thinking I agree the vector option should be actually better as it is more flexible and can be used both ways by the user. |
I agree |
@yurymalkov I have finished my code. How do you like it? |
Great! Thank you so much! And apologies that it took so long! |
In issue #146, i add a templae interface
hnswlib/hnswlib/hnswlib.h
Lines 74 to 76 in 3c6a84f
But it cannot be overrided. So I removed the template and make it a virtual function.