User talk:81.166.186.180

Error in the nearest neighbour search algorithm?
Shouldn't the line

``` if distance(t, p) < distance(t, Q.first) then ```

be

``` if distance(t, p) < distance(t, Q.first) or size(Q) < k then ```