English

Faster diameter computation in graphs of bounded Euler genus

Data Structures and Algorithms 2025-02-12 v1 Combinatorics

Abstract

We show that for any fixed integer k0k \geq 0, there exists an algorithm that computes the diameter and the eccentricies of all vertices of an input unweighted, undirected nn-vertex graph of Euler genus at most kk in time Ok(n2125). \mathcal{O}_k(n^{2-\frac{1}{25}}). Furthermore, for the more general class of graphs that can be constructed by clique-sums from graphs that are of Euler genus at most kk after deletion of at most kk vertices, we show an algorithm for the same task that achieves the running time bound Ok(n21356log6kn). \mathcal{O}_k(n^{2-\frac{1}{356}} \log^{6k} n). Up to today, the only known subquadratic algorithms for computing the diameter in those graph classes are that of [Ducoffe, Habib, Viennot; SICOMP 2022], [Le, Wulff-Nilsen; SODA 2024], and [Duraj, Konieczny, Pot\k{e}pa; ESA 2024]. These algorithms work in the more general setting of KhK_h-minor-free graphs, but the running time bound is Oh(n2ch)\mathcal{O}_h(n^{2-c_h}) for some constant ch>0c_h > 0 depending on hh. That is, our savings in the exponent, as compared to the naive quadratic algorithm, are independent of the parameter kk. The main technical ingredient of our work is an improved bound on the number of distance profiles, as defined in [Le, Wulff-Nilsen; SODA 2024], in graphs of bounded Euler genus.

Keywords

Cite

@article{arxiv.2502.07501,
  title  = {Faster diameter computation in graphs of bounded Euler genus},
  author = {Kacper Kluk and Marcin Pilipczuk and Michał Pilipczuk and Giannos Stamoulis},
  journal= {arXiv preprint arXiv:2502.07501},
  year   = {2025}
}

Comments

23 pages

R2 v1 2026-06-28T21:40:10.102Z