Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

An explicit universal cycle for the (n-1)-permutations of an n-set

Published: 02 July 2010 Publication History

Abstract

We show how to construct an explicit Hamilton cycle in the directed Cayley graph C({σn, σn-1}: Sn), 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.

References

[1]
Chung, F., Diaconis, P., and Graham, R. 1992. Universal cycles for combinatorial structures. Discr. Math. 110, 43--59.
[2]
Eades, P., Hickey, M., and Read, R. C. 1984. Some Hamilton paths and a minimal change algorithm. J. ACM 31, 19--29.
[3]
Fredricksen, H. and Maiorana, J. 1978. Necklaces of beads in k colors and k-ary de Bruijn sequences. Discr. Math. 23, 207--210.
[4]
Gallian, J. and Witte, D. 1984. A survey: Hamiltonian cycles in Cayley graphs. Discr. Math. 51, 293--304.
[5]
Hough, T. and Ruskey, F. 1988. An efficient implementation of the Eades, Hickey, Read adjacent interchange combination generation algorithm. J. Combin. Math. Combin. Comput. 4, 79--86.
[6]
Jackson, B. 1996. Universal cycles of k-subsets and k-permutations. Discr. Math. 149, 123--129.
[7]
Johnson, R. J. 2009. Universal cycles for permutations. Discr. Math. 309, 17, 5264--5270.
[8]
Knuth, D. E. 2005. The Art of Computer Programming, Vol. 4, Generating All Tuples and Permutations, Fascicle 2. Addison-Wesley.
[9]
Pak, I. and Radoicic, R. 2004. Hamiltonian paths in Cayley graphs. manuscript.
[10]
Sedgewick, R. 1977. Permutation generation methods. ACM Comput. Surv. 9, 137--164.
[11]
Sloane, N. J. A. The online encyclopedia of integer sequences. http://www.research.att.com/~njas/sequences/.
[12]
Williamson, S. G. 1985. Combinatorics for Computer Science. Computer Science Press.

Cited By

View all
  • (2023)SRU-based Multi-angle Enhanced Network for Semantic Text Similarity Calculation of Big Data Language ModelInternational Journal of Information Technologies and Systems Approach10.4018/IJITSA.31903916:2(1-20)Online publication date: 3-Mar-2023
  • (2023)An Optimised Bitcoin Mining StrategyInternational Journal of Information Technologies and Systems Approach10.4018/IJITSA.31865516:2(1-19)Online publication date: 3-Mar-2023
  • (2023)POI Recommendation Model Using Multi-Head Attention in Location-Based Social Network Big DataInternational Journal of Information Technologies and Systems Approach10.4018/IJITSA.31814216:2(1-16)Online publication date: 17-Feb-2023
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Transactions on Algorithms
ACM Transactions on Algorithms  Volume 6, Issue 3
June 2010
304 pages
ISSN:1549-6325
EISSN:1549-6333
DOI:10.1145/1798596
Issue’s Table of Contents
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 02 July 2010
Accepted: 01 August 2008
Revised: 01 August 2008
Received: 01 October 2007
Published in TALG Volume 6, Issue 3

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Universal cycle
  2. loopless algorithm

Qualifiers

  • Research-article
  • Research
  • Refereed

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)6
  • Downloads (Last 6 weeks)2
Reflects downloads up to 27 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2023)SRU-based Multi-angle Enhanced Network for Semantic Text Similarity Calculation of Big Data Language ModelInternational Journal of Information Technologies and Systems Approach10.4018/IJITSA.31903916:2(1-20)Online publication date: 3-Mar-2023
  • (2023)An Optimised Bitcoin Mining StrategyInternational Journal of Information Technologies and Systems Approach10.4018/IJITSA.31865516:2(1-19)Online publication date: 3-Mar-2023
  • (2023)POI Recommendation Model Using Multi-Head Attention in Location-Based Social Network Big DataInternational Journal of Information Technologies and Systems Approach10.4018/IJITSA.31814216:2(1-16)Online publication date: 17-Feb-2023
  • (2023)Microblog Emotion Analysis Using Improved DBN Under Spark PlatformInternational Journal of Information Technologies and Systems Approach10.4018/IJITSA.31814116:2(1-16)Online publication date: 16-Feb-2023
  • (2023)Media Coverage of 3D Visual Tools Used in Urban Participatory PlanningInternational Journal of E-Planning Research10.4018/IJEPR.31808512:1(1-32)Online publication date: 10-Feb-2023
  • (2023)Kneser Graphs Are HamiltonianProceedings of the 55th Annual ACM Symposium on Theory of Computing10.1145/3564246.3585137(963-970)Online publication date: 2-Jun-2023
  • (2023)Maximal Length Constrained de Bruijn Sequences2023 IEEE International Symposium on Information Theory (ISIT)10.1109/ISIT54713.2023.10206819(684-689)Online publication date: 25-Jun-2023
  • (2023)Shortened universal cycles for permutationsDiscrete Applied Mathematics10.1016/j.dam.2022.09.026324:C(219-228)Online publication date: 15-Jan-2023
  • (2023)Constant Time and Space Updates for the Sigma-Tau ProblemString Processing and Information Retrieval10.1007/978-3-031-43980-3_26(323-330)Online publication date: 26-Sep-2023
  • (2022)Loan Default Prediction Based on Convolutional Neural Network and LightGBMInternational Journal of Data Warehousing and Mining10.4018/IJDWM.31582319:1(1-16)Online publication date: 29-Dec-2022
  • Show More Cited By

View Options

Login options

Full Access

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media