English
Related papers

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

200 papers

We show that every directed graph $G$ with $n$ vertices and $m$ edges admits a directed acyclic graph (DAG) with $m^{1+o(1)}$ edges, called a DAG projection, that can either $(1+1/\text{polylog} (n))$-approximate distances between all pairs…

Data Structures and Algorithms · Computer Science 2026-04-07 Bernhard Haeupler , Yonggang Jiang , Thatchaphol Saranurak

It is unlikely that the discrete Fr\'echet distance between two curves of length $n$ can be computed in strictly subquadratic time. We thus consider the setting where one of the curves, $P$, is known in advance. In particular, we wish to…

Computational Geometry · Computer Science 2024-04-08 Boris Aronov , Tsuri Farhana , Matthew J. Katz , Indu Ramesh

Given a graph $G$ and two vertices $s$ and $t$ in it, {\em graph reachability} is the problem of checking whether there exists a path from $s$ to $t$ in $G$. We show that reachability in directed layered planar graphs can be decided in…

Data Structures and Algorithms · Computer Science 2015-01-26 Diptarka Chakraborty , Raghunath Tewari

Let $G=(V,E)$ be a weighted undirected graph, with $n$ vertices. A distance oracle is a data structure that can quickly answer distance queries, with some stretch factor. A seminal work of \cite{TZ01}, given an integer $k\ge 1$, provides…

Data Structures and Algorithms · Computer Science 2026-04-30 Ofer Neiman , Alon Spector

Given an $n$-vertex planar directed graph with real edge lengths and with no negative cycles, we show how to compute single-source shortest path distances in the graph in $O(n\log^2n/\log\log n)$ time with O(n) space. This is an improvement…

Discrete Mathematics · Computer Science 2009-11-30 Shay Mozes , Christian Wulff-Nilsen

We present a dual fault-tolerant distance oracle for undirected and unweighted graphs. Given a set $F$ of two edges, as well as a source node $s$ and a destination node $t$, our oracle returns the length of the shortest path from $s$ to $t$…

Data Structures and Algorithms · Computer Science 2024-07-03 Dipan Dey , Manoj Gupta

We present the first compact distance oracle that tolerates multiple failures and maintains exact distances. Given an undirected weighted graph $G = (V, E)$ and an arbitrarily large constant $d$, we construct an oracle that given vertices…

Data Structures and Algorithms · Computer Science 2021-11-08 Ran Duan , Hanlin Ren

We consider the problem of building Distance Sensitivity Oracles (DSOs). Given a directed graph $G=(V, E)$ with edge weights in $\{1, 2, \dots, M\}$, we need to preprocess it into a data structure, and answer the following queries: given…

Data Structures and Algorithms · Computer Science 2021-09-03 Hanlin Ren

We present the first succinct distance oracles for (unweighted) interval graphs and related classes of graphs, using a novel succinct data structure for ordinal trees that supports the mapping between preorder (i.e., depth-first) ranks and…

Data Structures and Algorithms · Computer Science 2020-10-02 Meng He , J. Ian Munro , Yakov Nekrich , Sebastian Wild , Kaiyu Wu

Proximity graph-based methods have emerged as a leading paradigm for approximate nearest neighbor (ANN) search in the system community. This paper presents fresh insights into the theoretical foundation of these methods. We describe an…

Data Structures and Algorithms · Computer Science 2025-09-10 Shangqi Lu , Yufei Tao

In 2001 Thorup and Zwick devised a distance oracle, which given an $n$-vertex undirected graph and a parameter $k$, has size $O(k n^{1+1/k})$. Upon a query $(u,v)$ their oracle constructs a $(2k-1)$-approximate path $\Pi$ between $u$ and…

Data Structures and Algorithms · Computer Science 2015-06-30 Michael Elkin , Seth Pettie

Let $P$ be a set of $n$ points in the plane, where each point $p\in P$ has a transmission radius $r(p)>0$. The transmission graph defined by $P$ and the given radii, denoted by $\mathcal{G}_{\mathrm{tr}}(P)$, is the directed graph whose…

Computational Geometry · Computer Science 2022-10-13 Mark de Berg

$\renewcommand{\Re}{\mathbb{R}}$Given a set $P$ of $n$ points in $\Re^d$, and a parameter $\varepsilon \in (0,1)$, we present a new construction of a directed graph $G$, of size $O(n/\varepsilon^d)$, such that $(1+\varepsilon)$-ANN queries…

Computational Geometry · Computer Science 2025-10-30 Sariel Har-Peled , Benjamin Raichel , Eliot W. Robson

We show how to assign labels of size $\tilde O(1)$ to the vertices of a directed planar graph $G$, such that from the labels of any three vertices $s,t,f$ we can deduce in $\tilde O(1)$ time whether $t$ is reachable from $s$ in the graph…

Data Structures and Algorithms · Computer Science 2023-07-17 Shiri Chechik , Shay Mozes , Oren Weimann

We show how to represent a planar digraph in linear space so that distance queries can be answered in constant time. The data structure can be constructed in linear time. This representation of reachability is thus optimal in both time and…

Data Structures and Algorithms · Computer Science 2015-04-07 Jacob Holm , Eva Rotenberg , Mikkel Thorup

Let $G$ be an unweighted, undirected graph. An additive $k$-spanner of $G$ is a subgraph $H$ that approximates all distances between pairs of nodes up to an additive error of $+k$, that is, it satisfies $d_H(u,v) \le d_G(u,v)+k$ for all…

Data Structures and Algorithms · Computer Science 2017-04-17 Mathias Bæk Tejs Knudsen

A distance oracle is a compact representation of the shortest distance matrix of a graph. It can be queried to approximate shortest paths between any pair of vertices. Any distance oracle that returns paths of worst-case stretch (2k-1) must…

Data Structures and Algorithms · Computer Science 2012-01-16 Rachit Agarwal , P. Brighten Godfrey , Sariel Har-Peled

We prove that a connected planar graph with $n$ vertices and $n+\mu$ edges has a vertex separator of size $O( \sqrt{\mu} + 1)$, and this separator can be computed in linear time.

Data Structures and Algorithms · Computer Science 2018-08-09 Linda Cai , Sariel Har-Peled , Simiao Ye

The dynamic shortest paths problem on planar graphs asks us to preprocess a planar graph $G$ such that we may support insertions and deletions of edges in $G$ as well as distance queries between any two nodes $u,v$ subject to the constraint…

Data Structures and Algorithms · Computer Science 2016-05-13 Amir Abboud , Søren Dahlgaard

We design $f$-edge fault-tolerant diameter oracles ($f$-FDOs). We preprocess a given graph $G$ on $n$ vertices and $m$ edges, and a positive integer $f$, to construct a data structure that, when queried with a set $F$ of $|F| \leq f$ edges,…

Data Structures and Algorithms · Computer Science 2021-07-09 Davide Bilò , Sarel Cohen , Tobias Friedrich , Martin Schirneck