KD树和R树之间有什么区别? [英] What is the difference between a KD-tree and a R-tree?

查看:725
本文介绍了KD树和R树之间有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我研究了KD树和R树的定义.在我看来,它们几乎是相同的.

I looked at the definition of KD-tree and R-tree. It seems to me that they are almost the same.

KD树和R树之间有什么区别?

What's the difference between a KD-tree and an R-tree?

推荐答案

R树 k d树基于相似的想法(基于轴对齐区域的空间划分),但主要区别在于:

R-trees and kd-trees are based on similar ideas (space partitioning based on axis-aligned regions), but the key differences are:

    k 树中的
  • 节点表示分离平面,而在R树中的节点表示边界框.
  • k d树将整个空间划分为区域,而R树仅将包含关注点的空间子集划分.
  • k d树表示不相交的分区(点仅属于一个区域),而R树中的区域可能重叠.
  • Nodes in kd-trees represent separating planes, whereas nodes in R-trees represent bounding boxes.
  • kd-trees partition the whole of space into regions whereas R-trees only partition the subset of space containing the points of interest.
  • kd-trees represent a disjoint partition (points belong to only one region) whereas the regions in an R-tree may overlap.

(用于划分空间的树结构有很多类似的种类:四叉树,BSP树,R *树等)

(There are lots of similar kinds of tree structures for partitioning space: quadtrees, BSP-trees, R*-trees, etc. etc.)

这篇关于KD树和R树之间有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆