QuadTree find neighbor

荒凉一梦 提交于 2019-12-04 23:47:01

问题


I'm searching for a algorithm to find neighbors of a quadtree, in the example image, I got the red node, how to find the blue nodes. Any ideas?


回答1:


There are some known algorithms. Check them out.

  1. Kunio Aizawa et al. - Constant Time Neighbor Finding in Quadtrees: An Experimental Result
  2. Kasturi Varadarajan - All Nearest Neighbours via Quadtrees
  3. Robert Yoder, Peter Bloniarz - A Practical Algorithm for Computing Neighbors in Quadtrees, Octrees, and Hyperoctrees


来源:https://stackoverflow.com/questions/32412107/quadtree-find-neighbor

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!