Permutation Generation: Two New Permutation Algorithms
Abstract
Two completely new algorithms for generating permutations, shift-cursor algorithm and level algorithm, and their efficient implementations are presented in this paper. One implementation of the shift cursor algorithm gives an optimal solution of the permutation generation problem, and one implementation of the level algorithm can be used to generate random permutations.
- Publication:
-
arXiv e-prints
- Pub Date:
- June 2003
- DOI:
- arXiv:
- arXiv:cs/0306025
- Bibcode:
- 2003cs........6025G
- Keywords:
-
- Data Structures and Algorithms;
- Computational Complexity;
- F.2.2
- E-Print:
- 7 pages, 4 figures