𝔖 Bobbio Scriptorium
✦   LIBER   ✦

Gray code for permutations with a fixed number of cycles

✍ Scribed by Jean-Luc Baril


Book ID
108113729
Publisher
Elsevier Science
Year
2007
Tongue
English
Weight
200 KB
Volume
307
Category
Article
ISSN
0012-365X

No coin nor oath required. For personal study only.


πŸ“œ SIMILAR VOLUMES


A CAT algorithm for generating permutati
✍ Scott Effler; Frank Ruskey πŸ“‚ Article πŸ“… 2003 πŸ› Elsevier Science 🌐 English βš– 103 KB

We develop a constant amortized time (CAT) algorithm for generating permutations with a given number of inversions. We also develop an algorithm for the generation of permutations with given index.