A loopless Gray code for rooted trees

  • Authors:
  • James Korsh;Paul Lafollette

  • Affiliations:
  • Temple University, Philadelphia, PA;Temple University, Philadelphia, PA

  • Venue:
  • ACM Transactions on Algorithms (TALG)
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

Beyer and Hedetniemi [1980] gave the first constant average-time algorithm for the generation of all rooted trees with n nodes. This article presents the first combinatorial Gray code for these trees and a loopless algorithm for its generation.