English
Related papers

Related papers: Shortest Beer Path Queries in Interval Graphs

200 papers

Given a point $s$ and a set of $h$ pairwise disjoint polygonal obstacles of totally $n$ vertices in the plane, we present a new algorithm for building an $L_1$ shortest path map of size O(n) in $O(T)$ time and O(n) space such that for any…

Computational Geometry · Computer Science 2012-02-28 Danny Z. Chen , Haitao Wang

Let $S$ be a set of $n$ points in a polygon $P$ with $m$ vertices. The geodesic unit-disk graph $G(S)$ induced by $S$ has vertex set $S$ and contains an edge between two vertices whenever their geodesic distance in $P$ is at most one. In…

Computational Geometry · Computer Science 2026-03-27 Bruce W. Brewer , Haitao Wang

We present parallel algorithms for computing single-source reachability and shortest paths on directed $n$-vertex $m$-edge graphs using near-linear $\tilde{O}(m)$ work and $o(\sqrt{n})$ depth whenever $m\ge n^{1+o(1)}$. At the extreme of…

Data Structures and Algorithms · Computer Science 2026-05-06 Vikrant Ashvinkumar , Aaron Bernstein , Maximilian Probst Gutenberg , Thatchaphol Saranurak

The problem of listing the $K$ shortest simple (loopless) $st$-paths in a graph has been studied since the early 1960s. For a non-negatively weighted graph with $n$ vertices and $m$ edges, the most efficient solution is an $O(K(mn + n^2…

Data Structures and Algorithms · Computer Science 2014-11-26 Romeo Rizzi , Gustavo Sacomoto , Marie-France Sagot

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

We consider the problem of finding small distance-preserving subgraphs of undirected, unweighted interval graphs with $k$ terminal vertices. To start with, we show that finding an optimal distance-preserving subgraph is $\mathsf{NP}$-hard…

Data Structures and Algorithms · Computer Science 2018-09-27 Kshitij Gajjar , Jaikumar Radhakrishnan

An influential result by Dor, Halperin, and Zwick (FOCS 1996, SICOMP 2000) implies an algorithm that can compute approximate shortest paths for all vertex pairs in $\tilde{O}(n^{2+O\left(\frac{1}{k}\right )})$ time, ensuring that the output…

Data Structures and Algorithms · Computer Science 2025-07-29 Manoj Gupta

Let $H$ be a fixed graph and let $G$ be an $H$-minor free $n$-vertex graph with integer edge weights and no negative weight cycles reachable from a given vertex $s$. We present an algorithm that computes a shortest path tree in $G$ rooted…

Discrete Mathematics · Computer Science 2010-10-12 Christian Wulff-Nilsen

Dijkstra's algorithm is the standard method for computing shortest paths on arbitrary graphs. However, it is slow for large graphs, taking at least linear time. It has been long known that for real world road networks, creating a hierarchy…

Data Structures and Algorithms · Computer Science 2023-12-08 Sébastien Collette , John Iacono

The GC problem is to identify a pre-determined number of center vertices such that the distances or costs from (or to) the centers to (or from) other vertices is minimized. The bottleneck of a path is the minimum capacity of edges on the…

Data Structures and Algorithms · Computer Science 2013-09-17 Tong-Wook Shinn , Tadao Takaoka

Dumas, Foucaud, Perez, and Todinca [SIAM J. Disc. Math., 2024] proved that if the vertex set of a graph $G$ can be covered by $k$ shortest paths, then the pathwidth of $G$ is bounded by $\mathcal{O}(k \cdot 3^k)$. We prove a coarse variant…

Combinatorics · Mathematics 2025-03-05 Meike Hatzel , Michał Pilipczuk

The betweenness centrality of a graph vertex measures how often this vertex is visited on shortest paths between other vertices of the graph. In the analysis of many real-world graphs or networks, betweenness centrality of a vertex is used…

Data Structures and Algorithms · Computer Science 2024-05-15 Sebastian Buß , Hendrik Molter , Rolf Niedermeier , Maciej Rymar

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 design a space-efficient algorithm for performing depth-first search traversal(DFS) of a graph in $O(m+n\log^* n)$ time using $O(n)$ bits of space. While a normal DFS algorithm results in a DFS-tree (in case the graph is connected), our…

Data Structures and Algorithms · Computer Science 2018-10-18 Jayesh Choudhari , Manoj Gupta , Shivdutt Sharma

Given a weighted $n$-vertex graph $G$ with integer edge-weights taken from a range $[-M,M]$, we show that the minimum-weight simple path visiting $k$ vertices can be found in time $\tilde{O}(2^k \poly(k) M n^\omega) = O^*(2^k M)$. If the…

Data Structures and Algorithms · Computer Science 2013-07-10 Avinatan Hassidim , Orgad Keller , Moshe Lewenstein , Liam Roditty

The replacement paths problem for directed graphs is to find for given nodes s and t and every edge e on the shortest path between them, the shortest path between s and t which avoids e. For unweighted directed graphs on n vertices, the…

Data Structures and Algorithms · Computer Science 2010-07-15 Virginia Vassilevska Williams

In a directed graph $G$ with non-correlated edge lengths and costs, the \emph{network design problem with bounded distances} asks for a cost-minimal spanning subgraph subject to a length bound for all node pairs. We give a bi-criteria…

Data Structures and Algorithms · Computer Science 2014-09-24 Markus Chimani , Joachim Spoerhase

How efficiently can we find an unknown graph using distance or shortest path queries between its vertices? Let $G = (V,E)$ be an unweighted, connected graph of bounded degree. The edge set $E$ is initially unknown, and the graph can be…

Data Structures and Algorithms · Computer Science 2015-02-19 Sampath Kannan , Claire Mathieu , Hang Zhou

Calculating the diameter of an undirected graph requires quadratic running time under the Strong Exponential Time Hypothesis and this barrier works even against any approximation better than 3/2. For planar graphs with positive edge…

Data Structures and Algorithms · Computer Science 2025-07-08 Michał Włodarczyk

The bandwidth of a graph G on n vertices is the minimum b such that the vertices of G can be labeled from 1 to n such that the labels of every pair of adjacent vertices differ by at most b. In this paper, we present a 2-approximation…

Data Structures and Algorithms · Computer Science 2012-05-01 Martin Fürer , Serge Gaspers , Shiva Prasad Kasiviswanathan