Panagiotis Charalampopoulos, Paweł Gawrychowski, Yaowei Long, Shay Mozes, Seth Pettie, Oren Weimann, Christian Wulff-Nilsen
{"title":"Almost Optimal Exact Distance Oracles for Planar Graphs","authors":"Panagiotis Charalampopoulos, Paweł Gawrychowski, Yaowei Long, Shay Mozes, Seth Pettie, Oren Weimann, Christian Wulff-Nilsen","doi":"https://dl.acm.org/doi/10.1145/3580474","DOIUrl":null,"url":null,"abstract":"<p>We consider the problem of preprocessing a weighted directed planar graph in order to quickly answer exact distance queries. The main tension in this problem is between <i>space</i> <i>S</i> and <i>query time</i> <i>Q</i>, and since the mid-1990s all results had polynomial time-space tradeoffs, e.g., <i>Q</i> = ~ Θ(<i>n/√ S</i>) or <i>Q</i> = ~Θ(<i>n<sup>5/2</sup>/S<sup>3/2</sup></i>).</p><p>In this article we show that there is no polynomial tradeoff between time and space and that it is possible to <i>simultaneously</i> achieve almost optimal space <i>n</i><sup>1+<i>o</i>(1)</sup> and almost optimal query time <i>n</i><sup><i>o</i>(1)</sup>. More precisely, we achieve the following space-time tradeoffs:\n<p><ul><li><p><i>n</i><sup>1+<i>o</i>(1)</sup> space and log<sup>2+<i>o</i>(1)</sup> <i>n</i> query time,</p></li><li><p><i>n</i> log<sup>2+<i>o</i>(1)</sup> <i>n</i> space and <i>n</i><sup><i>o</i>(1)</sup> query time,</p></li><li><p><i>n</i><sup>4/3+<i>o</i>(1)</sup> space and log<sup>1+<i>o</i>(1)</sup> <i>n</i> query time.</p></li></ul></p></p><p>We reduce a distance query to a variety of <i>point location</i> problems in additively weighted <i>Voronoi diagrams</i> and develop new algorithms for the point location problem itself using several partially persistent dynamic tree data structures.</p>","PeriodicalId":50022,"journal":{"name":"Journal of the ACM","volume":"23 4","pages":""},"PeriodicalIF":2.3000,"publicationDate":"2023-03-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of the ACM","FirstCategoryId":"94","ListUrlMain":"https://doi.org/https://dl.acm.org/doi/10.1145/3580474","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0
Abstract
We consider the problem of preprocessing a weighted directed planar graph in order to quickly answer exact distance queries. The main tension in this problem is between spaceS and query timeQ, and since the mid-1990s all results had polynomial time-space tradeoffs, e.g., Q = ~ Θ(n/√ S) or Q = ~Θ(n5/2/S3/2).
In this article we show that there is no polynomial tradeoff between time and space and that it is possible to simultaneously achieve almost optimal space n1+o(1) and almost optimal query time no(1). More precisely, we achieve the following space-time tradeoffs:
n1+o(1) space and log2+o(1)n query time,
n log2+o(1)n space and no(1) query time,
n4/3+o(1) space and log1+o(1)n query time.
We reduce a distance query to a variety of point location problems in additively weighted Voronoi diagrams and develop new algorithms for the point location problem itself using several partially persistent dynamic tree data structures.
期刊介绍:
The best indicator of the scope of the journal is provided by the areas covered by its Editorial Board. These areas change from time to time, as the field evolves. The following areas are currently covered by a member of the Editorial Board: Algorithms and Combinatorial Optimization; Algorithms and Data Structures; Algorithms, Combinatorial Optimization, and Games; Artificial Intelligence; Complexity Theory; Computational Biology; Computational Geometry; Computer Graphics and Computer Vision; Computer-Aided Verification; Cryptography and Security; Cyber-Physical, Embedded, and Real-Time Systems; Database Systems and Theory; Distributed Computing; Economics and Computation; Information Theory; Logic and Computation; Logic, Algorithms, and Complexity; Machine Learning and Computational Learning Theory; Networking; Parallel Computing and Architecture; Programming Languages; Quantum Computing; Randomized Algorithms and Probabilistic Analysis of Algorithms; Scientific Computing and High Performance Computing; Software Engineering; Web Algorithms and Data Mining