Computer Science > Data Structures and Algorithms
[Submitted on 9 Jul 2013 (this version), latest version 12 Oct 2017 (v4)]
Title:Improved Submatrix Maximum Queries in Monge Matrices
View PDFAbstract: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 $O(n \log n /\log \log n)$ construction time, and answers submatrix maximum queries in $O(\log^2 n)$ time. The best previous data structure [Kaplan et al., SODA`12] required $O(n \log n)$ space, and $O(n \log n)$ construction time, and achieved the same query time. Ours is the first linear-space data structure for this problem. We also give an alternative data structure that achieves $O(\log \log n)$ query-time at the cost of $O(n^{1+\varepsilon})$ construction time and space for an arbitrarily small constant $\varepsilon>0$.
For $n\times n$ {\em partial} Monge matrices we obtain a data structure with O(n) space, $O(n \log n \cdot \log\log n)$ construction time, and $O(\log^2 n)$ query time. The data structure of Kaplan et al. required $O(n \log n \cdot \alpha(n))$ space, $O(n \log^2 n \cdot \alpha(n))$ construction time, 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 $\alpha(n)$ term in the analysis of the data structure of Kaplan et. al is superfluous.
Submission history
From: Shay Mozes [view email][v1] Tue, 9 Jul 2013 01:14:48 UTC (64 KB)
[v2] Sun, 4 Aug 2013 14:57:38 UTC (78 KB)
[v3] Tue, 15 Apr 2014 17:30:39 UTC (69 KB)
[v4] Thu, 12 Oct 2017 12:20:39 UTC (82 KB)
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
Connected Papers (What is Connected Papers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.