A general exhaustive generation algorithm for Gray structures

From MaRDI portal
Publication:995753

DOI10.1007/S00236-007-0053-0zbMATH Open1127.68113arXivmath/0703262OpenAlexW1975955357MaRDI QIDQ995753FDOQ995753

Elisabetta Grazzini, R. Pinzani, E. Pergola, Antonio Bernini

Publication date: 10 September 2007

Published in: Acta Informatica (Search for Journal in Brave)

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) has in its production two labels c1 and c2, always in the same position, regardless of k. 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.


Full work available at URL: https://arxiv.org/abs/math/0703262





Cites Work


Cited In (9)


   Recommendations





This page was built for publication: A general exhaustive generation algorithm for Gray structures

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q995753)