<link rel="stylesheet" href="styles.cf390c6bfbe7555f.css">
Institutional Repository

On the generation of permutations

dc.contributor.authorNaccache de Paz, D
dc.date.accessioned2018-05-18T01:54:53Z
dc.date.available2018-05-18T01:54:53Z
dc.date.issued1990
dc.description.abstractA 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.description.departmentSchool of Computingen
dc.identifieren
dc.identifier.citationNaccache de Paz D (1990) On the generation of permutations. South African Computer Journal Number 2 1990en
dc.identifier.issn2313-7835
dc.identifier.urihttp://hdl.handle.net/10500/23930
dc.language.isoenen
dc.publisherSouth African Institute of Computer Scientists and Information Technologistsen
dc.subjectAlgorithmsen
dc.subjectPermutationen
dc.subjectGenerationen
dc.subjectArrangementen
dc.subjectRanken
dc.subjectUnranken
dc.titleOn the generation of permutationsen
dc.typeArticleen

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
1990_SACJ_02_Naccache de Paz.pdf
Size:
23.54 MB
Format:
Adobe Portable Document Format
Description:

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
2.32 KB
Format:
Item-specific license agreed upon to submission
Description: