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

一维最佳色彩范围报告

Optimal Color Range Reporting in One Dimension

Yakov Nekrich, Jeffrey Scott Vitter

摘要:

颜色(或分类)范围报告是正交范围报告问题的一种变体,其中输入中的每个点都被分配一个\emph{color}。正交点报告查询的答案包含查询范围$Q$中的所有点,而颜色报告查询的答案仅包含$Q$中的点的不同颜色。在本文中,我们描述了一个O(N)-空间的数据结构,回答一维颜色报告查询在最佳的$O(k+1)$时间,其中$k$是答案中的颜色的数量和$N$是在数据结构中的点的数量。我们的结果也可以动态化,并扩展到外部记忆模型。

英文摘要:

Color (or categorical) range reporting is a variant of the orthogonal range reporting problem in which every point in the input is assigned a \emph{color}. While the answer to an orthogonal point reporting query contains all points in the query range $Q$, the answer to a color reporting query contains only distinct colors of points in $Q$. In this paper we describe an O(N)-space data structure that answers one-dimensional color reporting queries in optimal $O(k+1)$ time, where $k$ is the number of colors in the answer and $N$ is the number of points in the data structure. Our result can be also dynamized and extended to the external memory model.

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

↑