A CAT Algorithm for Generating Permutations with a Fixed Number of Inversions

Scott Effler, Department of Computer Science, University of Victoria, Canada.
Frank Ruskey, Department of Computer Science, University of Victoria, Canada.

Abstract:

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.

Keywords: Permutation, exhaustive listing, inversion, index.


Selected Citations:
Back to list of Frank Ruskey's publications.