改进的Monge矩阵子矩阵最大值查询
Improved Submatrix Maximum Queries in Monge Matrices
摘要:
我们提出了有效的数据结构,子矩阵最大查询的蒙格矩阵和蒙格部分矩阵。对于$n\times n$ Monge矩阵,我们给出了一个需要O(n)空间的数据结构,并在$O(\log n)$时间内回答子矩阵最大查询。最好的以前的数据结构[卡普兰等人,SODA`12]需要$O(n \log n)$空间和$O(\log^2 n)$查询时间。我们还给出了一个替代的数据结构,恒定的查询时间和$ O(n^{1+\varepsilon})$建设时间和空间的任何固定的$\varepsilon<1$。对于$n\times n$ { \em partial} Monge矩阵,我们得到了一个O(n)空间和$O(\log n \cdot α(n))$查询时间的数据结构. Kaplan等人的数据结构需要$O(n \log n \cdot α(n))$空间和$O(\log^2 n)$查询时间。我们的改进,使技术利用的上包络的蒙格矩阵的结构,有效地报告列最大值在斜矩形蒙格矩阵。我们希望这种技术可以是有用的,在获得更快的搜索算法在蒙赫部分矩阵。此外,我们给出了一个线性上界的断点的数量在上包络的Monge部分矩阵。这表明Kaplan等人的数据结构分析中的逆Ackermann $α(n)$项是有效的。这是多余的。
英文摘要:
We present efficient data structures for submatrix maximum queries in Monge matrices and Monge partial matrices. For $n\times n$ Monge matrices, we give a data structure that requires O(n) space and answers submatrix maximum queries in $O(\log n)$ time. The best previous data structure [Kaplan et al., SODA`12] required $O(n \log n)$ space and $O(\log^2 n)$ query time. We also give an alternative data structure with constant query-time and $ O(n^{1+\varepsilon})$ construction time and space for any fixed $\varepsilon<1$. For $n\times n$ {\em partial} Monge matrices we obtain a data structure with O(n) space and $O(\log n \cdot α(n))$ query time. The data structure of Kaplan et al. required $O(n \log n \cdot α(n))$ space and $O(\log^2 n)$ query time. Our improvements are enabled by a technique for exploiting the structure of the upper envelope of Monge matrices to efficiently report column maxima in skewed rectangular Monge matrices. We hope this technique can be useful in obtaining faster search algorithms in Monge partial matrices. In addition, we give a linear upper bound on the number of breakpoints in the upper envelope of a Monge partial matrix. This shows that the inverse Ackermann $α(n)$ term in the analysis of the data structure of Kaplan et. al is superfluous.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。