scientific article; zbMATH DE number 4053045

From MaRDI portal
Publication:3789088





[For the entire collection see Zbl 0638.00034.] A parallel algorithm for generating all the permutations of \({}^ kP_ k\) for every (1\(\leq k\leq N)\) is presented. The architecture consists of a linear processor array with N elements. The processor k receives a permutation p of \(^{k-1}P_{k-1}\) from the processor k-1 and intercalate k at all the k possible positions of the sequence p, one at a time. After each intercalation it sends the permutation obtained to the \((k+1)\)-th processor and also outputs it. In this way the N-th processor outputs all the \({}^ NP_ N\) permutations in \((N+N!)\) units of time and our profit are all the \({}^ kP_ k\) \((1\leq k<N)\) which output is included in that time. It is shown how to find the position of a given permutation and how to obtain the permutation of a given position, where position refers to the generation order of the permutations by each processor.











This page was built for publication:

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3789088)