A CAT algorithm for generating permutations with a fixed number of inversions

  • Authors:
  • Scott Effler;Frank Ruskey

  • Affiliations:
  • Department of Computer Science, University of Victoria, Canada;Department of Computer Science, University of Victoria, Canada

  • Venue:
  • Information Processing Letters
  • Year:
  • 2003

Quantified Score

Hi-index 0.89

Visualization

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.