English
Related papers

Related papers: Fast, precise and dynamic distance queries

200 papers

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 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

Given an undirected, unweighted planar graph $G$ with $n$ vertices, we present a truly subquadratic size distance oracle for reporting exact shortest-path distances between any pair of vertices of $G$ in constant time. For any $\varepsilon…

Data Structures and Algorithms · Computer Science 2020-10-01 Viktor Fredslund-Hansen , Shay Mozes , Christian Wulff-Nilsen

In this paper, we study the problem of computing the diameter of a set of $n$ points in $d$-dimensional Euclidean space for a fixed dimension $d$, and propose a new $(1+\varepsilon)$-approximation algorithm with $O(n+ 1/\varepsilon^{d-1})$…

Computational Geometry · Computer Science 2019-05-08 Mahdi Imanparast , Seyed Naser Hashemi , Ali Mohades

We present an $O(n^{1.5})$-space distance oracle for directed planar graphs that answers distance queries in $O(\log n)$ time. Our oracle both significantly simplifies and significantly improves the recent oracle of Cohen-Addad, Dahlgaard…

Data Structures and Algorithms · Computer Science 2017-08-07 Paweł Gawrychowski , Shay Mozes , Oren Weimann , 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

Given a finite metric space $(V,d)$, an approximate distance oracle is a data structure which, when queried on two points $u,v \in V$, returns an approximation to the the actual distance between $u$ and $v$ which is within some bounded…

Data Structures and Algorithms · Computer Science 2016-12-19 Michael Dinitz , Zeyu Zhang

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

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 study metric data structures for curves in doubling spaces, such as trajectories of moving objects in Euclidean $\mathbb{R}^d$, where the distance between two curves is measured using the discrete Fr\'echet distance. We design data…

Computational Geometry · Computer Science 2019-07-15 Anne Driemel , Ioannis Psarros , Melanie Schmidt

Given a curve $P$ with points in $\mathbb{R}^d$ in a streaming fashion, and parameters $\varepsilon>0$ and $k$, we construct a distance oracle that uses $O(\frac{1}{\varepsilon})^{kd}\log\varepsilon^{-1}$ space, and given a query curve $Q$…

Computational Geometry · Computer Science 2020-07-22 Arnold Filtser , Omrit Filtser

We prove that, up to subpolynomial or polylogarithmic factors, there is no tradeoff between preprocessing time, query time, and size of exact distance oracles for planar graphs. Namely, we show how given an $n$-vertex weighted directed…

Data Structures and Algorithms · Computer Science 2026-03-30 Shay Mozes , Daniel Prigan

An $f$-edge fault-tolerant distance sensitive oracle ($f$-DSO) with stretch $\sigma \ge 1$ is a data structure that preprocesses a given undirected, unweighted graph $G$ with $n$ vertices and $m$ edges, and a positive integer $f$. When…

Data Structures and Algorithms · Computer Science 2024-08-07 Davide Bilò , Shiri Chechik , Keerti Choudhary , Sarel Cohen , Tobias Friedrich , Simon Krogmann , Martin Schirneck

Let $s$ denote a distinguished source vertex of a non-negatively real weighted and undirected graph $G$ with $n$ vertices and $m$ edges. In this paper we present two efficient \emph{single-source approximate-distance sensitivity oracles},…

Data Structures and Algorithms · Computer Science 2016-08-18 Davide Bilò , Luciano Gualà , Stefano Leucci , Guido Proietti

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 provide a decremental approximate Distance Oracle that obtains stretch of $1+\epsilon$ multiplicative and 2 additive and has $\hat{O}(n^{5/2})$ total cost (where $\hat{O}$ notation suppresses polylogarithmic and $n^{O(1)/\sqrt{n}}$…

Data Structures and Algorithms · Computer Science 2013-07-08 Ittai Abraham , Shiri Chechik

Given an undirected $n$-vertex planar graph $G=(V,E,\omega)$ with non-negative edge weight function $\omega:E\rightarrow \mathbb R$ and given an assigned label to each vertex, a vertex-labeled distance oracle is a data structure which for…

Data Structures and Algorithms · Computer Science 2021-10-04 Jacob Evald , Viktor Fredslund-Hansen , Christian Wulff-Nilsen

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

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 study optimization problems in a metric space $(\mathcal{X},d)$ where we can compute distances in two ways: via a ''strong'' oracle that returns exact distances $d(x,y)$, and a ''weak'' oracle that returns distances $\tilde{d}(x,y)$…

Data Structures and Algorithms · Computer Science 2023-10-25 MohammadHossein Bateni , Prathamesh Dharangutte , Rajesh Jayaram , Chen Wang