A new algorithm for generation of permutations |
| |
Authors: | Shmuel Zaks |
| |
Affiliation: | (1) Laboratory for Computer Science, M.I.T., 02139 Cambridge, MA, U.S.A. |
| |
Abstract: | A new algorithm for generating permutations is presented, that generates the next permutation by reversing a certain suffix of its predecessor. The average size of this suffix is less thane 2.8. It is shown how to find the position of a given permutation and how to construct the permutation of a given position, where the position refers to the order in which the permutations are generated, and is also new.On leave from the Department of Computer Science, Technion, Haifa, Israel. This work was supported by NSF grant MCS-8302391. |
| |
Keywords: | |
本文献已被 SpringerLink 等数据库收录! |
|