2018
DOI: 10.1016/j.tcs.2017.11.017
|View full text |Cite
|
Sign up to set email alerts
|

Loopless Gray code enumeration and the Tower of Bucharest

Abstract: We give new algorithms for generating all n-tuples over an alphabet of m letters, changing only one letter at a time (Gray codes). These algorithms are based on the connection with variations of the Towers of Hanoi game. Our algorithms are loopless, in the sense that the next change can be determined in a constant number of steps, and they can be implemented in hardware. We also give another family of loopless algorithms that is based on the idea of working ahead and saving the work in a buffer.

Help me understand this report
View preprint versions

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
4
0

Year Published

2019
2019
2023
2023

Publication Types

Select...
3
3

Relationship

1
5

Authors

Journals

citations
Cited by 6 publications
(5 citation statements)
references
References 14 publications
0
4
0
Order By: Relevance
“…Recently, Herter and Rote [HR18] devised loopless algorithms for generating b-ary Gray codes based on generalizations of the Tower of Hanoi puzzle. Flahive [Fla08] describes a construction of balanced b-ary Gray codes with transitions counts that differ by at most 2 from the average b n /n, improving upon the earlier paper by Flahive and Bose [FB07].…”
Section: Larger Alphabetsmentioning
confidence: 99%
“…Recently, Herter and Rote [HR18] devised loopless algorithms for generating b-ary Gray codes based on generalizations of the Tower of Hanoi puzzle. Flahive [Fla08] describes a construction of balanced b-ary Gray codes with transitions counts that differ by at most 2 from the average b n /n, improving upon the earlier paper by Flahive and Bose [FB07].…”
Section: Larger Alphabetsmentioning
confidence: 99%
“…Figure illustrated the label of Q43 with faulty vertex in Gray code . For convenience, we only add the edge connection of vertex 0000, and the other vertices are connected in the same way as vertex 0000.…”
Section: Graph‐theoretic Formulationmentioning
confidence: 99%
“…In Section 5.4, we discussed the possibility to generate minimal dominating sets D faster than in linear time per solution, by counting only the operations to insert or remove an element from D. A more ambitious goal would be to enumerate the solutions with constant delay. Such enumeration algorithms are called loopless or loop-free, see for example [Ehrlich 1973;Herter and Rote 2018;Knuth 2011]. The sequence in which the solutions are generated has to have the property that the difference between consecutive solutions is bounded in size by a constant.…”
Section: Loopless Enumeration and Gray Codesmentioning
confidence: 99%