nearest neighbor - k-d tree - wikipedia proof.

Posted by user123930 on Stack Overflow See other posts from Stack Overflow or by user123930
Published on 2009-10-26T20:58:36Z Indexed on 2010/03/15 4:29 UTC
Read the original article Hit count: 374

Filed under:
|

On the wikipedia entry for k-d trees, an algorithm is presented for doing a nearest neighbor search on a k-d tree. What I don't understand is the explanation of step 3.2. How do you know there isn't a closer point just because the difference between the splitting coordinate of the search point and the current node is greater than the difference between the splitting coordinate of the search point and the current best?

© Stack Overflow or respective owner

Related posts about nearest-neighbor

Related posts about kdtree