arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 0903.4726cs.DS
收藏

范围分位数的改进:小波树的另一个优点

Range Quantile Queries: Another Virtue of Wavelet Trees

Travis Gagie, Simon J. Puglisi, Andrew Turpin

摘要:

我们展示了如何使用平衡小波树作为一个数据结构,存储一个数字列表,并支持高效的{ \em范围分位数查询}。范围分位数查询获取子列表的排名和端点,并返回该子列表中具有该排名的数字。例如,如果秩是子列表长度的一半,则查询返回子列表的中位数。我们还展示了如何使用这些查询来支持空间高效的{ \em彩色范围报告}和{ \em文档列表}。

英文摘要:

We show how to use a balanced wavelet tree as a data structure that stores a list of numbers and supports efficient {\em range quantile queries}. A range quantile query takes a rank and the endpoints of a sublist and returns the number with that rank in that sublist. For example, if the rank is half the sublist's length, then the query returns the sublist's median. We also show how these queries can be used to support space-efficient {\em coloured range reporting} and {\em document listing}.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑