1
所以,我正在实施一个KD-Tree做最近的邻居搜索。我已经建立了树的部分工作,但我不认为我完全理解搜索部分。如何使用KDTrees实现最近邻居搜索?
关于遍历树以搜索邻居,维基百科的文章说以下内容:
Starting with the root node, the algorithm moves down the tree recursively, in the same
way that it would if the search point were being inserted (i.e. it goes right or left
depending on whether the point is greater or less than the current node in the split
dimension).
什么是“比吐尺寸当前节点或大或小的意思是我们比较基础的点?在距离查询或我们比较点的分割尺寸?
此外,有人可以解释关于超空间和超平面的部分吗?我觉得我理解它,但因为我不知道我想一些更多解释。
谢谢!
我会得出类似的结论。谢谢! – efficiencyIsBliss 2010-11-04 18:05:35