Under the Strong Exponential-Time Hypothesis, the diameter of general unweighted graphs cannot be computed in truly subquadratic-time. Nevertheless there are several graph classes for which this can be done such as bounded-treewidth graphs, interval graphs and planar graphs, to name a few. We propose to study unweighted graphs of constant distance VC-dimension as a broad generalization of many such classes -where the distance VC-dimension of a graph G is defined as the VC-dimension of its ball hypergraph: whose hyperedges are the balls of all possible radius and center in G. In particular for any fixed H, the class of H-minor free graphs has distance VC-dimension at most |V (H)| − 1. number of edges on a shortest path. Beyond its many practical applications, this fundamental problem in Graph Theory has attracted a lot of attention in the fine-grained complexity study of polynomial-time solvable problems [1,4,8,15,18,22,25,32,52]. More precisely, for every n-vertex m-edge unweighted graph the textbook algorithm for computing its diameter runs in time O(nm). In a seminal paper [52] this roughly quadratic running-time was matched by a quadratic lower-bound, assuming the Strong Exponential-Time Hypothesis (SETH). We stress that for graphs with millions of nodes and edges, quadratic time is already too prohibitive.The conditional lower-bound of [52] also holds for sparse graphs i.e., with only m = O(n) edges [1]. However it does not hold for many well-structured graph classes [1,11,13,20,14,21,23,25,31,33,35,49]. Our work proposes some new advances on the characterization of graph families for which we can compute the diameter in truly subquadratic time.
Related workBefore we detail our contributions, we wish to mention a few recent (and not so recent) results that are most related to our approach.