Simpler and Unified Recognition Algorithm for Path Graphs and Directed Path Graphs
Lorenzo Balzotti
TL;DR
The paper addresses the recognition problem for path graphs and directed path graphs, two graph classes situated between interval and chordal graphs. It builds a unified recognition framework by extending the Ab characterization of path graphs to directed path graphs and by using clique-separator decompositions and antipodality graph colorings. The main contribution is a first, simpler $O(p(m+n))$-time recognition algorithm for both PG and DPG, which avoids complex data structures and relies on a coloring-based recursion that translates into a clique path tree. This has practical implications for efficient recognition in graph libraries and related applications, providing a cohesive approach to two closely related graph classes. The work also clarifies the relationship between existing characterizations and yields a streamlined pathway to implementable algorithms for both PG and DPG.
Abstract
A path graph is the intersection graph of paths in a tree. A directed path graph is the intersection graph of paths in a directed tree. Even if path graphs and directed path graphs are characterized very similarly, their recognition algorithms differ widely. We further unify these two graph classes by presenting the first recognition algorithm for both path graphs and directed path graphs. We deeply use a recent characterization of path graphs, and we extend it to directed path graphs. Our algorithm does not require complex data structures and has an easy and intuitive implementation, simplifying recognition algorithms for both graph classes.
