Institutional Repository

On the generation of permutations

Show simple item record

dc.contributor.author Naccache de Paz, D
dc.date.accessioned 2018-05-18T01:54:53Z
dc.date.available 2018-05-18T01:54:53Z
dc.date.issued 1990
dc.identifier en
dc.identifier.citation Naccache de Paz D (1990) On the generation of permutations. South African Computer Journal Number 2 1990 en
dc.identifier.issn 2313-7835
dc.identifier.uri http://hdl.handle.net/10500/23930
dc.description.abstract A new incremental algorithm for generating permutations on 1,2,..n (hereafter called "arrangements') is presented. The scheme generates arrangement k +1 by reversing a certain prefix of its predecessor and linking it to the remaining unchanged part of k. The average size of this prefix tends very rapidly to 1 as n increases, and is equal to 37/30= 1,233... in the worst-case (where n=5). The proposed algorithm uses only elementary CPU operations (namely register-shifts, additions and tests - no multiplications are made) which makes it suitable for low level language implementation and saves time. A final interesting property is the possibility of compressing the results into an array of 1!+2!+..+n! digits, instead of the nn! memory cells normally required for saving all the n! arrangements on n elements. en
dc.language.iso en en
dc.publisher South African Institute of Computer Scientists and Information Technologists en
dc.subject Algorithms en
dc.subject Permutation en
dc.subject Generation en
dc.subject Arrangement en
dc.subject Rank en
dc.subject Unrank en
dc.title On the generation of permutations en
dc.type Article en
dc.description.department School of Computing en


Files in this item

This item appears in the following Collection(s)

Show simple item record

Search UnisaIR


Browse

My Account

Statistics