English

Simplicity in Eulerian Circuits: Uniqueness and Safety

Data Structures and Algorithms 2023-05-26 v2 Discrete Mathematics

Abstract

An Eulerian circuit in a directed graph is one of the most fundamental Graph Theory notions. Detecting if a graph GG has a unique Eulerian circuit can be done in polynomial time via the BEST theorem by de Bruijn, van Aardenne-Ehrenfest, Smith and Tutte, 1941-1951 (involving counting arborescences), or via a tailored characterization by Pevzner, 1989 (involving computing the intersection graph of simple cycles of GG), both of which thus rely on overly complex notions for the simpler uniqueness problem. In this paper we give a new linear-time checkable characterization of directed graphs with a unique Eulerian circuit. This is based on a simple condition of when two edges must appear consecutively in all Eulerian circuits, in terms of cut nodes of the underlying undirected graph of GG. As a by-product, we can also compute in linear-time all maximal safe\textit{safe} walks appearing in all Eulerian circuits, for which Nagarajan and Pop proposed in 2009 a polynomial-time algorithm based on Pevzner characterization.

Keywords

Cite

@article{arxiv.2208.08522,
  title  = {Simplicity in Eulerian Circuits: Uniqueness and Safety},
  author = {Nidia Obscura Acosta and Alexandru I. Tomescu},
  journal= {arXiv preprint arXiv:2208.08522},
  year   = {2023}
}
R2 v1 2026-06-25T01:46:54.623Z