The Complexity of Diameter on H-free Graphs

Jelle J. Oostveen*, Daniël Paulusma, Erik Jan van Leeuwen

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionAcademicpeer-review

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.

Original languageEnglish
Title of host publicationGraph-Theoretic Concepts in Computer Science - 50th International Workshop, WG 2024, Revised Selected Papers
EditorsDaniel Kráľ, Martin Milanič
PublisherSpringer Science and Business Media Deutschland GmbH
Pages444-459
Number of pages16
ISBN (Print)9783031754081
DOIs
Publication statusPublished - 2025
Event50th International Workshop on Graph-Theoretic Concepts in Computer Science, WG 2024 - Gozd Martuljek, Slovenia
Duration: 19 Jun 202421 Jun 2024

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume14760 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference50th International Workshop on Graph-Theoretic Concepts in Computer Science, WG 2024
Country/TerritorySlovenia
CityGozd Martuljek
Period19/06/2421/06/24

Bibliographical note

Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Switzerland AG 2025.

Fingerprint

Dive into the research topics of 'The Complexity of Diameter on H-free Graphs'. Together they form a unique fingerprint.

Cite this