English
Related papers

Related papers: Distances in Planar Graphs are Almost for Free!

200 papers

Let $G = (V, E)$ be an undirected graph with $n$ vertices and $m$ edges, and let $\mu = m/n$. A \emph{distance oracle} is a data structure designed to answer approximate distance queries, with the goal of achieving low stretch, efficient…

Data Structures and Algorithms · Computer Science 2025-09-03 Avi Kadria , Liam Roditty

We consider the problem of preprocessing two strings $S$ and $T$, of lengths $m$ and $n$, respectively, in order to be able to efficiently answer the following queries: Given positions $i,j$ in $S$ and positions $a,b$ in $T$, return the…

Data Structures and Algorithms · Computer Science 2021-03-08 Panagiotis Charalampopoulos , Paweł Gawrychowski , Shay Mozes , Oren Weimann

Given a vertex-labeled graph, each vertex $v$ is attached with a label from a set of labels. The vertex-label query desires the length of the shortest path from the given vertex to the set of vertices with the given label. We show how to…

Data Structures and Algorithms · Computer Science 2012-02-01 Mingfei Li , Christoffer Ma , Li Ning

We present an explicit and efficient construction of additively weighted Voronoi diagrams on planar graphs. Let $G$ be a planar graph with $n$ vertices and $b$ sites that lie on a constant number of faces. We show how to preprocess $G$ in…

Data Structures and Algorithms · Computer Science 2020-06-26 Paweł Gawrychowski , Haim Kaplan , Shay Mozes , Micha Sharir , Oren Weimann

We present a labeling scheme that assigns labels of size $\tilde O(1)$ to the vertices of a directed weighted planar graph $G$, such that for any fixed $\varepsilon>0$ from the labels of any three vertices $s$, $t$ and $f$ one can determine…

Data Structures and Algorithms · Computer Science 2025-03-25 Itai Boneh , Shiri Chechik , Shay Golan , Shay Mozes , Oren Weimann

Given an undirected weighted graph, an (approximate) distance oracle is a data structure that can (approximately) answer distance queries. A {\em Path-Reporting Distance Oracle}, or {\em PRDO}, is a distance oracle that must also return a…

Data Structures and Algorithms · Computer Science 2024-05-24 Ofer Neiman , Idan Shabat

An approximate distance oracle is a succinct data structure that provides fast answers to distance queries between any two nodes. In this paper we consider approximate distance oracles for general undirected graphs with non-negative edge…

Data Structures and Algorithms · Computer Science 2013-05-16 Shiri Chechik

In this paper we present an efficient reachability oracle under single-edge or single-vertex failures for planar directed graphs. Specifically, we show that a planar digraph $G$ can be preprocessed in $O(n\log^2{n}/\log\log{n})$ time,…

Data Structures and Algorithms · Computer Science 2021-01-08 Giuseppe F. Italiano , Adam Karczmarz , Nikos Parotsidis

Given an undirected graph $G$ with $m$ edges, $n$ vertices, and non-negative edge weights, and given an integer $k\geq 1$, we show that for some universal constant $c$, a $(2k-1)$-approximate distance oracle for $G$ of size $O(kn^{1 +…

Discrete Mathematics · Computer Science 2011-09-21 Christian Wulff-Nilsen

Let $G=(V, E)$ be an undirected $n$-vertices $m$-edges graph with non-negative edge weights. In this paper, we present three new algorithms for constructing a $(2k-1)$-stretch distance oracle with $O(n^{1+\frac{1}{k}})$ space. The first…

Data Structures and Algorithms · Computer Science 2026-04-24 Avi Kadria , Liam Roditty

We introduce an improved structure of distance sensitivity oracle (DSO). The task is to pre-process a non-negatively weighted graph so that a data structure can quickly answer replacement path length for every triple of source, terminal and…

Data Structures and Algorithms · Computer Science 2016-05-17 Ran Duan , Tianyi Zhang

We continue the study of distance sensitivity oracles (DSOs). Given a directed graph $G$ with $n$ vertices and edge weights in $\{1, 2, \dots, M\}$, we want to build a data structure such that given any source vertex $u$, any target vertex…

Data Structures and Algorithms · Computer Science 2021-08-04 Yong Gu , Hanlin Ren

In this paper, we show that given a weighted, directed planar graph $G$, and any $\epsilon >0$, there exists a polynomial time and $O(n^{\frac{1}{2}+\epsilon})$ space algorithm that computes the shortest path between two fixed vertices in…

Computational Complexity · Computer Science 2015-02-10 Diptarka Chakraborty , Raghunath Tewari

We consider how to assign labels to any undirected graph with n nodes such that, given the labels of two nodes and no other information regarding the graph, it is possible to determine the distance between the two nodes. The challenge in…

Data Structures and Algorithms · Computer Science 2015-04-20 Stephen Alstrup , Cyril Gavoille , Esben Bistrup Halvorsen , Holger Petersen

Given an undirected graph $G=(V,E)$ of $n$ vertices and $m$ edges with weights in $[1,W]$, we construct vertex sensitive distance oracles (VSDO), which are data structures that preprocess the graph, and answer the following kind of queries:…

Data Structures and Algorithms · Computer Science 2020-12-29 Ran Duan , Yong Gu , Hanlin Ren

We present the first optimal randomized algorithm for constructing the order-$k$ Voronoi diagram of $n$ points in two dimensions. The expected running time is $O(n\log n + nk)$, which improves the previous, two-decades-old result of Ramos…

Computational Geometry · Computer Science 2023-10-25 Timothy M. Chan , Pingan Cheng , Da Wei Zheng

Many graph processing algorithms require determination of shortest-path distances between arbitrary numbers of node pairs. Since computation of exact distances between all node-pairs of a large graph, e.g., 10M nodes and up, is…

Social and Information Networks · Computer Science 2014-04-22 Deepak Ajwani , W. Sean Kennedy , Alessandra Sala , Iraj Saniee

We study the problem of computing the diameter and the mean distance of a continuous graph, i.e., a connected graph where all points along the edges, instead of only the vertices, must be taken into account. It is known that for continuous…

Computational Geometry · Computer Science 2025-03-12 Sergio Cabello , Delia Garijo , Antonia Kalb , Fabian Klute , Irene Parada , Rodrigo I. Silveira

We present an approximate distance oracle for a point set S with n points and doubling dimension {\lambda}. For every {\epsilon}>0, the oracle supports (1+{\epsilon})-approximate distance queries in (universal) constant time, occupies space…

Data Structures and Algorithms · Computer Science 2010-08-10 Yair Bartal , Lee-Ad Gottlieb , Tsvi Kopelowitz , Moshe Lewenstein , Liam Roditty

We present the first approximate distance oracle for sparse directed networks with time-dependent arc-travel-times determined by continuous, piecewise linear, positive functions possessing the FIFO property. Our approach precomputes…

Data Structures and Algorithms · Computer Science 2015-04-21 Spyros Kontogiannis , Christos Zaroliagis