BKTrees.BKTree
— TypeThe B-K tree structure.
BKTrees.Node
— TypeA node in the B-K tree.
BKTrees.add!
— MethodAdds a node (i.e. Node{T}(item::T)
) to the tree.
BKTrees.find
— MethodFind items in the tree whose distance is less or equal to n
and returns the top k
items, ordered ascending according to the distance.
BKTrees.hamming_distance
— MethodCalculates the Hamming distance (numbers of different bits) between two numbers.
BKTrees.is_empty_node
— MethodDetermines whether a Node in the BKTree is empty or not.