๐ฎ
๐ฎ
The Ethereal
Loopless Gray Code Enumeration and the Tower of Bucharest
April 22, 2016 ยท The Ethereal ยท ๐ Fun with Algorithms
"No code URL or promise found in abstract"
Evidence collected by the PWNC Scanner
Authors
Felix Herter, Gรผnter Rote
arXiv ID
1604.06707
Category
cs.DM: Discrete Mathematics
Cross-listed
cs.DS
Citations
11
Venue
Fun with Algorithms
Last Checked
2 months ago
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.
Community Contributions
Found the code? Know the venue? Think something is wrong? Let us know!
๐ Similar Papers
In the same crypt โ Discrete Mathematics
๐ฎ
๐ฎ
The Ethereal
An Introduction to Temporal Graphs: An Algorithmic Perspective
๐ฎ
๐ฎ
The Ethereal
Guarantees for Greedy Maximization of Non-submodular Functions with Applications
๐ฎ
๐ฎ
The Ethereal
A note on the triangle inequality for the Jaccard distance
๐ฎ
๐ฎ
The Ethereal
Fast clique minor generation in Chimera qubit connectivity graphs
๐ฎ
๐ฎ
The Ethereal