English

Computing the inverse geodesic length in planar graphs and graphs of bounded treewidth

Data Structures and Algorithms 2021-11-18 v2 Computational Geometry

Abstract

The inverse geodesic length of a graph GG is the sum of the inverse of the distances between all pairs of distinct vertices of GG. In some domains it is known as the Harary index or the global efficiency of the graph. We show that, if GG is planar and has nn vertices, then the inverse geodesic length of GG can be computed in roughly O(n9/5)O(n^{9/5}) time. We also show that, if GG has nn vertices and treewidth at most kk, then the inverse geodesic length of GG can be computed in O(nlogO(k)n)O(n \log^{O(k)}n) time. In both cases we use techniques developed for computing the sum of the distances, which does not have "inverse" component, together with batched evaluations of rational functions.

Cite

@article{arxiv.1908.01317,
  title  = {Computing the inverse geodesic length in planar graphs and graphs of bounded treewidth},
  author = {Sergio Cabello},
  journal= {arXiv preprint arXiv:1908.01317},
  year   = {2021}
}

Comments

With respect v1, corrected the model of computation and explained better the algebraic operations

R2 v1 2026-06-23T10:39:11.484Z