跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 数据结构与算法

arXiv:1910.01147 (cs)
[提交于 2019年10月4日]

标题:Path and Ancestor Queries on Trees with Multidimensional Weight Vectors

作者:Meng He, Serikzhan Kazi
查看论文《Path and Ancestor Queries on Trees with Multidimensional Weight Vectors》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:We consider an ordinal tree $T$ on $n$ nodes, with each node assigned a $d$-dimensional weight vector $\pnt{w} \in \{1,2,\ldots,n\}^d,$ where $d \in \mathbb{N}$ is a constant. We study path queries as generalizations of well-known {\textit{orthogonal range queries}}, with one of the dimensions being tree topology rather than a linear order. Since in our definitions $d$ only represents the number of dimensions of the weight vector without taking the tree topology into account, a path query in a tree with $d$-dimensional weight vectors generalize the corresponding $(d+1)$-dimensional orthogonal range query. We solve {\textit{ancestor dominance reporting}} problem as a direct generalization of dominance reporting problem, %in time $\O((\lg^{d-1} n)/(\lg\lg n)^{d-2}+k)$ in time $\O(\lg^{d-1}{n}+k)$ %and space of $\O(n(\lg n)^{d-1}/(\lg \lg n)^{d-2})$ words, and space of $\O(n\lg^{d-2}n)$ words, where $k$ is the size of the output, for $d \geq 2.$ We also achieve a tradeoff of $\O(n\lg^{d-2+\eps}{n})$ words of space, with query time of $\O((\lg^{d-1} n)/(\lg\lg n)^{d-2}+k),$ for the same problem, when $d \geq 3.$ We solve {\textit{path successor problem}} in $\O(n\lg^{d-1}{n})$ words of space and time $\O(\lg^{d-1+\eps}{n})$ for $d \geq 1$ and an arbitrary constant $\eps > 0.$ We propose a solution to {\textit{path counting problem}}, with $\O(n(\lg{n}/\lg\lg{n})^{d-1})$ words of space and $\O((\lg{n}/\lg\lg{n})^{d})$ query time, for $d \geq 1.$ Finally, we solve {\textit{path reporting problem}} in $\O(n\lg^{d-1+\eps}{n})$ words of space and $\O((\lg^{d-1}{n})/(\lg\lg{n})^{d-2}+k)$ query time, for $d \geq 2.$ These results match or nearly match the best tradeoffs of the respective range queries. We are also the first to solve path successor even for $d = 1$.
主题: 数据结构与算法 (cs.DS)
引用方式: arXiv:1910.01147 [cs.DS]
  (或者 arXiv:1910.01147v1 [cs.DS] 对于此版本)
  https://doi.org/10.48550/arXiv.1910.01147

提交历史

来自:Serikzhan Kazi
[v1] 2019年10月4日 星期五 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.DS
< 上一篇   |   下一篇 >
最新 | 近期 | 2019-10
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站