English

A general exhaustive generation algorithm for Gray structures

Combinatorics 2007-05-23 v1

Abstract

Starting from a succession rule for Catalan numbers, we define a procedure encoding and listing the objects enumerated by these numbers such that two consecutive codes of the list differ only for one digit. Gray code we obtain can be generalized to all the succession rules with the stability property: each label (k)(k) has in its production two labels c1c_1 and c2c_2, always in the same position, regardless of kk. Because of this link, we define Gray structures the sets of those combinatorial objects whose construction can be encoded by a succession rule with the stability property. This property is a characteristic that can be found among various succession rules, as the finite, factorial or transcendental ones. We also indicate an algorithm which is a very slight modification of the Walsh's one, working in a O(1) worst-case time per word for generating Gray codes.

Keywords

Cite

@article{arxiv.math/0703262,
  title  = {A general exhaustive generation algorithm for Gray structures},
  author = {Antonio Bernini and Elisabetta Grazzini and Elisa Pergola and Renzo Pinzani},
  journal= {arXiv preprint arXiv:math/0703262},
  year   = {2007}
}

Comments

21 pages, 3 figures