On a greedy algorithm to construct universal cycles for permutations

Gao, Alice L.L. and Kitaev, Sergey and Steiner, Wolfgang and Zhang, Philip B. (2019) On a greedy algorithm to construct universal cycles for permutations. International Journal of Foundations of Computer Science, 30 (1). pp. 61-72. ISSN 0129-0541 (https://doi.org/10.1142/S0129054119400033)

[thumbnail of Gao-etal-IJFCS-2018-On-a-greedy-algorithm-to-construct-universal-cycles]
Preview
Text. Filename: Gao_etal_IJFCS_2018_On_a_greedy_algorithm_to_construct_universal_cycles.pdf
Accepted Author Manuscript

Download (199kB)| Preview

Abstract

A universal cycle for permutations of length n is a cyclic word or permutation, any factor of which is order-isomorphic to exactly one permutation of length n, and containing all permutations of length n as factors. It is well known that universal cycles for permutations of length n exist. However, all known ways to construct such cycles are rather complicated. For example, in the original paper establishing the existence of the universal cycles, constructing such a cycle involves finding an Eulerian cycle in a certain graph and then dealing with partially ordered sets. In this paper, we offer a simple way to generate a universal cycle for permutations of length n, which is based on applying a greedy algorithm to a permutation of length n - 1. We prove that this approach gives a unique universal cycle In for permutations, and we study properties of I n .

ORCID iDs

Gao, Alice L.L., Kitaev, Sergey ORCID logoORCID: https://orcid.org/0000-0003-3324-1647, Steiner, Wolfgang and Zhang, Philip B.;