Affiliation:
1. Western Washington State College, Bellingham
Abstract
Classical permutation enumeration algorithms encounter special cases requiring additional computation every nth permutation when generating the n! permutations on n marks. Four new algorithms have the attribute that special cases occur every n(n—1) permutations. Two of the algorithms produce the next permutation with a single exchange of two marks. The other two algorithms infrequently exchange more than two marks, but the rules for generating the next permutation are very simple. Performance tests which have counted execution of assignment statements, comparisons, arithmetic operations, and subscripted array references have shown superiority of the new algorithms compared to Boothroyd's implementation of M.B. Well's algorithm and Ehrlich's implementation of the Johnson-Trotter algorithm.
Publisher
Association for Computing Machinery (ACM)
Cited by
17 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. A Unified Framework to Discover Permutation Generation Algorithms;The Computer Journal;2021-11-17
2. Noncongruence subgroups and Maass waveforms;Journal of Number Theory;2019-06
3. Turn-Based War Chess Model and Its Search Algorithm per Turn;International Journal of Computer Games Technology;2016
4. Cardinality of UDP Transmission Outcomes;Dependable Software Engineering: Theories, Tools, and Applications;2015
5. 1960–1979;A Chronicle of Permutation Statistical Methods;2014