### References & Citations

# Computer Science > Data Structures and Algorithms

# Title: Shortest Path Centrality and the APSP problem via VC-dimension and Rademacher Averages

(Submitted on 29 Nov 2019 (v1), last revised 4 May 2020 (this version, v4))

Abstract: In this paper we are interested in a version of the All-pairs Shortest Paths problem (APSP) that fits neither in the exact nor in the approximate case. We define a measure of centrality of a shortest path, related to the ``importance'' of such shortest path in the graph, and propose an algorithm based on the idea of progressive sampling that, for {\it any fixed constants} $0 < \epsilon$, $ \delta < 1$, given an undirected graph $G$ with non-negative edge weights, outputs with probability $1 - \delta$ a data structure of size $n \cdot \textrm{Diam}_V(G)$, where $\textrm{Diam}_V(G)$ is the vertex diameter of $G$, in expected time $\mathcal{O}(\lg n \max(m + n \log n, n \cdot \textrm{Diam}_V(G)))$ containing the (exact) distance and the shortest path between every pair of vertices $(u,v)$ that has centrality at least $\epsilon$. The progressive sampling technique is sensitive to the probability distribution of the input (if we assume that $G$ is chosen from a prescribed random distribution), but even in the case where we take no assumption about such distribution, we show an upper bound for the sample size using VC-dimension theory that is tighter than the bound given by standard Hoeffding and union bounds, since VC-dimension theory captures the combinatorial structure of the input graph.

## Submission history

From: Alane Lima [view email]**[v1]**Fri, 29 Nov 2019 15:12:27 GMT (38kb)

**[v2]**Fri, 24 Jan 2020 20:29:43 GMT (43kb)

**[v3]**Wed, 4 Mar 2020 18:48:12 GMT (44kb)

**[v4]**Mon, 4 May 2020 19:10:40 GMT (47kb,D)

Link back to: arXiv, form interface, contact.