Skip to main contentSkip to search
Episciences
Open Access Journals
Sign in(new window)
Discrete Mathematics & Theoretical Computer Science logo
Discrete Mathematics & Theoretical Computer Science
Discrete Mathematics & Theoretical Computer Science logo
Discrete Mathematics & Theoretical Computer Science
Sign in(new window)
Articles & Issues
All articlesAll accepted articlesAll volumesLast volumeSectionsSpecial issuesAuthors
About
The journalIndexing
Boards
Publish
For authorsEthical charter
Submit
Discrete Mathematics & Theoretical Computer Science logo
Contact
|
Credits
eISSN 1365-8050
|
RSS
|
Atom
Episciences
Documentation
|
Acknowledgements
|
Publishing policy
Accessibility: non-compliant
|
Legal mentions
|
Privacy statement
|
Terms of use
  1. Home > Articles & Issues >
  2. Articles >
  3. Simpler and Unified ...
Article

Simpler and Unified Recognition Algorithm for Path Graphs and Directed Path Graphs

Lorenzo Balzotti
Download article
Open on arXiv
Submitted on
April 6, 2024
Accepted on
March 12, 2025
Published on
May 1, 2025
Last modified on
May 1, 2025
Volume 27
vol. 27:2
Discrete Algorithms
DOI
10.46298/dmtcs.13355
License
arXiv.org - Non-exclusive license to distribute
European Commission
101135576
Intent-based data operation in the computing continuum
Indicators
665
Views
492
Downloads

Simpler and Unified Recognition Algorithm for Path Graphs and Directed Path Graphs

Lorenzo Balzotti
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. Comment: 13 pages, 3 figures
Keywords
  • Computer Science - Data Structures and Algorithms
  • F.2.2
  • G.2.2
Mathematics Subject Classification 2020
  • 05C20 - Directed graphs (digraphs), tournaments
  • 05C38 - Paths and cycles
  • 05C85 - Graph algorithms (graph-theoretic aspects)
  • 68R10 - Graph theory (including graph drawing) in computer science
Preview
Loading PDF preview...