English

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

Data Structures and Algorithms 2020-05-06 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<ϵ0 < \epsilon, δ<1 \delta < 1, given an undirected graph GG with non-negative edge weights, outputs with probability 1δ1 - \delta a data structure of size nDiamV(G)n \cdot \textrm{Diam}_V(G), where DiamV(G)\textrm{Diam}_V(G) is the vertex diameter of GG, in expected time O(lgnmax(m+nlogn,nDiamV(G)))\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)(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 GG 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.

Keywords

Cite

@article{arxiv.1911.13144,
  title  = {Shortest Path Centrality and the APSP problem via VC-dimension and Rademacher Averages},
  author = {Alane M. de Lima and Murilo V. G. da Silva and André L. Vignatti},
  journal= {arXiv preprint arXiv:1911.13144},
  year   = {2020}
}