Minimal eulerian circuit in a labeled digraph

  • Authors:
  • Eduardo Moreno;Martín Matamala

  • Affiliations:
  • Departamento de Ingeniería Matemática, Centro de Modelamiento Matemático, Universidad de Chile, UMR 2071, UCHILE-CNRS, Santiago, Chile;Departamento de Ingeniería Matemática, Centro de Modelamiento Matemático, Universidad de Chile, UMR 2071, UCHILE-CNRS, Santiago, Chile

  • Venue:
  • LATIN'06 Proceedings of the 7th Latin American conference on Theoretical Informatics
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

Let G = (V,A) be an Eulerian directed graph with an arc-labeling. In this work we study the problem of finding an Eulerian circuit of lexicographically minimal label among all Eulerian circuits of the graph. We prove that this problem is NP-hard by showing a reduction from the Directed-Hamiltonian-Circuit problem. If the labeling of the arcs is such that arcs going out from the same vertex have different labels, the problem can be solved in polynomial time. We present an algorithm to construct the unique Eulerian circuit of lexicographically minimal label starting at a fixed vertex. Our algorithm is a recursive greedy algorithm which runs in ${\mathcal O}$(|A|) steps. We also show an application of this algorithm to construct the minimal De Bruijn sequence of a language.