range_search_with_buf

Function range_search_with_buf 

Source
pub fn range_search_with_buf<T: CodeInt>(
    codes: &[T],
    qcode: T,
    radius: usize,
    answers: &mut Vec<u32>,
)
Expand description

Finds the neighbors in codes, whose Hamming distances to qcode are within radius. The ids of the neighbor codes are stored in answers.