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

无立方中值图上的区间查询问题

Interval Query Problem on Cube-free Median Graphs

Soh Kumabe

摘要:

本文介绍了无立方中值图的\emph{interval query problem}。设$G$是一个无立方中值图,$\mathcal{S}$是一个交换半群.对于$G$中的每个顶点$v$,我们给出$\mathcal{S}$中的元素$p(v)$。对于每个查询,我们在$G$中给出两个顶点$u,v$,并要求计算属于$u-v$最短路径的所有顶点$z$上的$p(z)$和。这是树和网格上范围查询问题的常见推广。本文提出了一种在$O(\log^2 n)$时间内回答每个区间查询的算法。在$O(n\log^3 n)$时间和$O(n\log^2 n)$空间中构造所需的数据结构。为了获得我们的算法,我们引入了一种新的技术,名为\emph{stairs decomposition},分解成更简单的子结构的立方自由的中位数图的区间。

英文摘要:

In this paper, we introduce the \emph{interval query problem} on cube-free median graphs. Let $G$ be a cube-free median graph and $\mathcal{S}$ be a commutative semigroup. For each vertex $v$ in $G$, we are given an element $p(v)$ in $\mathcal{S}$. For each query, we are given two vertices $u,v$ in $G$ and asked to calculate the sum of $p(z)$ over all vertices $z$ belonging to a $u-v$ shortest path. This is a common generalization of range query problems on trees and grids. In this paper, we provide an algorithm to answer each interval query in $O(\log^2 n)$ time. The required data structure is constructed in $O(n\log^3 n)$ time and $O(n\log^2 n)$ space. To obtain our algorithm, we introduce a new technique, named the \emph{stairs decomposition}, to decompose an interval of cube-free median graphs into simpler substructures.

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

↑