An explicit universal cycle for the ( n -1)-permutations of an n -set
Authors:
Open Access
- 1 June 2010
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Algorithms
- Vol. 6 (3) , 1-12
Abstract
We show how to construct an explicit Hamilton cycle in the directed Cayley graph C → ({σ n , σ n -1 }: S n ), where σ k is the rotation (1 2 … k ). The existence of such cycles was shown by Jackson [1996] but the proof only shows that a certain directed graph is Eulerian, and Knuth [2005] asks for an explicit construction. We show that a simple recursion describes our Hamilton cycle and that the cycle can be generated by an iterative algorithm that uses O ( n ) space. Moreover, the algorithm produces each successive edge of the cycle in constant time; such algorithms are said to be loopless . Finally, our Hamilton cycle can be used to construct an explicit universal cycle for the ( n -1)-permutations of a n -set, or as the basis of an efficient algorithm for generating every n -permutation of an n -set within a circular array or linked list.Keywords
All Related Versions
This publication has 8 references indexed in Scilit:
- Universal cycles for permutationsDiscrete Mathematics, 2009
- Hamiltonian paths on Platonic graphsInternational Journal of Mathematics and Mathematical Sciences, 2000
- Universal cycles of k-subsets and k-permutationsDiscrete Mathematics, 1993
- Universal cycles for combinatorial structuresDiscrete Mathematics, 1992
- A survey: Hamiltonian cycles in Cayley graphsDiscrete Mathematics, 1984
- Some Hamilton Paths and a Minimal Change AlgorithmJournal of the ACM, 1984
- Necklaces of beads in k colors and k-ary de Bruijn sequencesDiscrete Mathematics, 1978
- Permutation Generation MethodsACM Computing Surveys, 1977