You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An implementation of the lookup phase of the locality senstive hashing scheme described in "Similarity Estimation Techniques from Rounding Algorithms" by Moses Charikar (2002). This code will take a set of equal-length bitstrings and perform approximate nearest-neighbor searches against the set in sublinear time.
This code does not hash non bitstring data into bitstring form. You'll have to do that yourself.
To use, first construct an index using CharikarUtil::mkCharikarStripes. Then query the index using CharikarUtil::findNearest. Look at main.cpp for example usage.