An efficient Gray code algorithm for generating all permutations with a given major index
From MaRDI portal
Publication:2447540
Abstract: In [S. Effler, F. Ruskey, A CAT algorithm for listing permutations with a given number of inversions, {it I.P.L.}, 86/2 (2003)] the authors give an algorithm, which appears to be CAT, for generating permutations with a given major index. In the present paper we give a new algorithm for generating a Gray code for subexcedant sequences. We show that this algorithm is CAT and derive it into a CAT generating algorithm for permutations with a given major index.
Recommendations
- scientific article; zbMATH DE number 5855074
- A Gray code for permutations of size 2d with d descents
- Gray code for permutations with a fixed number of cycles
- Gray code for permutations with a fixed number of left-to-right minima.
- More restrictive Gray codes for some classes of pattern avoiding permutations
Cites work
- A CAT algorithm for generating permutations with a fixed number of inversions
- A new Euler-Mahonian constructive bijection
- scientific article; zbMATH DE number 3811868 (Why is no real title available?)
- scientific article; zbMATH DE number 553907 (Why is no real title available?)
- scientific article; zbMATH DE number 1506516 (Why is no real title available?)
- Restricted compositions and permutations: from old to new Gray codes
Cited in
(2)
This page was built for publication: An efficient Gray code algorithm for generating all permutations with a given major index
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q2447540)