Adaptive and Optimal Parallel Algorithms for Enumerating Permutations and Combinations
Author(s) -
Selim G. Akl
Publication year - 1987
Publication title -
the computer journal
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.319
H-Index - 64
eISSN - 1460-2067
pISSN - 0010-4620
DOI - 10.1093/comjnl/30.5.433
Subject(s) - simple (philosophy) , computation , algorithm , computer science , parallel algorithm , running time , combinatorics , mathematics , parallel computing , philosophy , epistemology
Three new adaptive and cost-optimal parallel algorithms are described for the problems of enumerating permutations and combinations ofm out ofn objects. The algorithms are designed to be executed on a very simple model of parallel computation which consists ofk autonomous processors running synchronously without needing to communicate among themselves. For the first two algorithms, 13$ k s$ N, where N is the number of permutations or combinations to be enumerated. When 1 ^ k < N/n, both algorithms require (H$N/k\. m) time for an optimal cost ofO(N.m). The third algorithm is designed for the case where m = n and 1 <*
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom