The original description of the k-d tree recognized that rebalancing techniques, used for building an AVL or red-black tree, are not applicable to a k-d tree, because these techniques involve cyclic exchange of tree nodes that violates the invariant of the k-d tree. For this reason, a static, balanced k-d tree is often built from all of the k-dimensional data en masse. However, it is possible to build a dynamic k-d tree that self-balances when necessary after insertion or deletion of each k-dimensional datum. This article describes insertion, deletion, and rebalancing algorithms for a dynamic, self-balancing k-d tree, and measures their performance.


翻译:k-d树的原始描述指出,用于构建AVL树或红黑树的再平衡技术不适用于k-d树,因为这些技术涉及树节点的循环交换,违反了k-d树的不变性。因此,静态平衡的k-d树通常需要一次性从所有k维数据中构建。然而,我们有可能构建一种动态k-d树,在每次插入或删除k维数据后,必要时能够进行自平衡。本文描述了一种动态自平衡k-d树的插入、删除和再平衡算法,并对其性能进行了评估。

0
下载
关闭预览

相关内容

简述多种降维算法
算法与数学之美
11+阅读 · 2018年9月23日
基于Keras进行迁移学习
论智
12+阅读 · 2018年5月6日
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Arxiv
0+阅读 · 1月26日
Arxiv
0+阅读 · 1月8日
Arxiv
0+阅读 · 1月6日
Arxiv
0+阅读 · 2025年12月29日
VIP会员
相关VIP内容
相关基金
国家自然科学基金
3+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
国家自然科学基金
0+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员