rust-cv / hwt

Hamming Weight Tree from the paper "Online Nearest Neighbor Search in Hamming Space"
MIT License
7 stars 1 forks source link

Support approximate nearest neighbor #4

Closed vadixidav closed 5 years ago

vadixidav commented 5 years ago

We can currently support approximate nearest neighbor search trivially by simply allowing neighbors that are at the current search radius + n. This means that we can be off by up to a distance of n. The performance gain should be high and it is easy to control precisely how much off you want to be (exactly by n at most).