The Complexity of Diameter on H-free Graphs

Publication date

2025

Authors

Oostveen, Jelle J.ISNI 0000000507286264
Paulusma, Daniël
Van Leeuwen, Erik JanISNI 0000000115525019

Editors

Kráľ, Daniel
Milanič, Martin

Advisors

Supervisors

Document Type

Part of book
Open Access logo

License

taverne

Abstract

The intensively studied Diameter problem is to find the diameter of a given connected graph. We investigate, for the first time in a structured manner, the complexity of Diameter for H-free graphs, that is, graphs that do not contain a fixed graph H as an induced subgraph. We first show that if H is not a linear forest with small components, then Diameter cannot be solved in subquadratic time for H-free graphs under SETH. For some small linear forests, we do show linear-time algorithms for solving Diameter. For other linear forests H, we make progress towards linear-time algorithms by considering specific diameter values. If H is a linear forest, the maximum value of the diameter of any graph in a connected H-free graph class is some constant dmax dependent only on H. We give linear-time algorithms for deciding if a connected H-free graph has diameter dmax, for several linear forests H. In contrast, for one such linear forest H, Diameter cannot be solved in subquadratic time for H-free graphs under SETH. Moreover, we even show that, for several other linear forests H, one cannot decide in subquadratic time if a connected H-free graph has diameter dmax under SETH.

Keywords

Taverne, Theoretical Computer Science, General Computer Science

Citation

Oostveen, J J, Paulusma, D & van Leeuwen, E J 2025, The Complexity of Diameter on H-free Graphs. in D Kráľ & M Milanič (eds), Graph-Theoretic Concepts in Computer Science - 50th International Workshop, WG 2024, Revised Selected Papers. Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), vol. 14760 LNCS, Springer Science and Business Media Deutschland GmbH, pp. 444-459, 50th International Workshop on Graph-Theoretic Concepts in Computer Science, WG 2024, Gozd Martuljek, Slovenia, 19/06/24. https://doi.org/10.1007/978-3-031-75409-8_31, conference