区间分位数查询:小波树的另一优势
数据结构与算法
2015-05-13 v6
摘要
我们展示了如何将平衡小波树作为一种存储数字列表并支持高效区间分位数查询的数据结构。区间分位数查询接收一个秩和子列表的端点,并返回该子列表中具有该秩的数字。例如,如果秩为子列表长度的一半,则该查询返回子列表的中位数。我们还展示了如何利用这些查询来支持空间高效的颜色区间报告和文档列表。
引用
@article{arxiv.0903.4726,
title = {Range Quantile Queries: Another Virtue of Wavelet Trees},
author = {Travis Gagie and Simon J. Puglisi and Andrew Turpin},
journal= {arXiv preprint arXiv:0903.4726},
year = {2015}
}
备注
Added note about generalization to any constant number of dimensions.