POV-Ray : Newsgroups : povray.off-topic : In search of a search algorithm : Re: In search of a search algorithm Server Time
14 Nov 2024 22:22:36 EST (-0500)
  Re: In search of a search algorithm  
From: Warp
Date: 3 Nov 2007 13:19:35
Message: <472cbbb7@news.povray.org>
Orchid XP v7 <voi### [at] devnull> wrote:
> I want a data structure that stores key/value pairs where the keys are 
> points in 3D space. In particular, I want to be able to *efficiently* 
> look up the N points nearest to any given location.

http://en.wikipedia.org/wiki/Nearest_neighbor_search
http://en.wikipedia.org/wiki/R-tree
http://en.wikipedia.org/wiki/Kd_tree

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.