Combinatorial Gray codes for classes of pattern avoiding permutations

https://doi.org/10.1016/j.tcs.2007.12.002Get rights and content
Under an Elsevier user license
open archive

Abstract

The past decade has seen a flurry of research into pattern avoiding permutations but little of it is concerned with their exhaustive generation. Many applications call for exhaustive generation of permutations subject to various constraints or imposing a particular generating order. In this paper we present generating algorithms and combinatorial Gray codes for several families of pattern avoiding permutations. Among the families under consideration are those counted by Catalan, large Schröder, Pell, even-index Fibonacci numbers and the central binomial coefficients. We thus provide Gray codes for the set of all permutations of {1,,n} avoiding the pattern τ for all τS3 and the Gray codes we obtain have distances 4 or 5.

Keywords

Gray codes
Pattern avoiding permutations
Generating algorithms

Cited by (0)