Expand description
Exhaustive search functions (for benchmark).
Functionsยง
- exhaustive_
search - Computes all the Hamming distances bwtween codes and qcode. Returns the tuples of code id and the distance.
- exhaustive_
search_ with_ buf - Computes all the Hamming distances bwtween codes and qcode. The tuples of code id and the distance are stored in answers.
- range_
search - Finds the neighbors in codes, whose Hamming distances to qcode are within radius. Returns the ids of the neighbor codes.
- range_
search_ with_ buf - Finds the neighbors in codes, whose Hamming distances to qcode are within radius. The ids of the neighbor codes are stored in answers.