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

区间图的最短Beer路

Shortest Beer Path Queries in Interval Graphs

Rathish Das, Meng He, Eitan Kondratovsky, J. Ian Munro, Anurag Murty Naredla, Kaiyu Wu

摘要:

我们感兴趣的是通过至少一个称为啤酒顶点的顶点子集的顶点对之间的路径。这样的路径被称为啤酒路径,两个顶点之间的啤酒距离是最短的啤酒路径的长度。我们表明,我们可以表示未加权区间图使用$2n \log n + O(n) + O(|B|\log n)$位,其中$2n \log n + O(n) + O(|B|\log n)$是啤酒顶点的数量。该数据结构在$O(\log^\varepsilon n)$时间内回答任何恒定$\varepsilon > 0$的啤酒距离查询,并在$O(\log^\varepsilon n + d)$时间内回答最短啤酒路径查询,其中$d$是两个节点之间的啤酒距离。我们还表明,适当的间隔图可以表示使用$3n + o(n)$位,以支持啤酒距离查询在$O(f(n)\log n)$时间为任何$f(n) \in ω(1)$和最短啤酒路径查询在$O(d)$时间。所有这些结果也有时间-空间权衡。最后,我们证明了Beer真区间图的信息论下界非常接近于我们的结构空间,即$\log(4+2\sqrt{3})n - o(n)$(或约$ 2.9 n$)位.

英文摘要:

Our interest is in paths between pairs of vertices that go through at least one of a subset of the vertices known as beer vertices. Such a path is called a beer path, and the beer distance between two vertices is the length of the shortest beer path. We show that we can represent unweighted interval graphs using $2n \log n + O(n) + O(|B|\log n)$ bits where $|B|$ is the number of beer vertices. This data structure answers beer distance queries in $O(\log^\varepsilon n)$ time for any constant $\varepsilon > 0$ and shortest beer path queries in $O(\log^\varepsilon n + d)$ time, where $d$ is the beer distance between the two nodes. We also show that proper interval graphs may be represented using $3n + o(n)$ bits to support beer distance queries in $O(f(n)\log n)$ time for any $f(n) \in ω(1)$ and shortest beer path queries in $O(d)$ time. All of these results also have time-space trade-offs. Lastly we show that the information theoretic lower bound for beer proper interval graphs is very close to the space of our structure, namely $\log(4+2\sqrt{3})n - o(n)$ (or about $ 2.9 n$) bits.

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

↑