Shortest Path Centrality and the APSP problem via VC-dimension and Rademacher Averages
arXiv:1911.13144
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} , , given an undirected graph with non-negative edge weights, outputs with probability a data structure of size , where is the vertex diameter of , in expected time containing the (exact) distance and the shortest path between every pair of vertices that has centrality at least . The progressive sampling technique is sensitive to the probability distribution of the input (if we assume that 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.