© 1989 by British Computer Society
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
Short Note
A Fast Iterative Algorithm for Generating Set Partitions
1 *
++
4 
1 Department of Mathematics and Computer Science, University of Miami, P.O. Box 249085, Coral Gables, FL 33124, USA, 2 Electrotechnical Laboratory, 1-1-4 Umezono, Tsukuba 305, Japan, 3 Ibaraki University, 2-1-1 Bunkyou, Mitoshi, Ibaraki 310, Japan, 4 Department of Computer Science, University of Ottawa, 34 G. Glinksi, Ottawa, Canada K1N 6N5
An iterative algorithm for generating all partitions of the set {1,...,n} is presented. An empirical test shows that the new algorithm is faster than the previously fastest algorithm recently proposed by Er on some computers, though the former is slower than the latter on a computer where fast recursive call is provided based on an RISC architecture.
Received October 1988.
* Department of Mathematics and Computer Science, University of Miami, P.O. Box 249085, Coral Gables, FL 33124, USA.
Electrotechnical Laboratory, 1-1-4 Umezono Tsukuba 305, Japan.
¶ Ibaraki University, 2-1-1 Bunkyou, Mitoshi, Ibaraki 310, Japan.
Department of Computer Science, University of Ottawa, 34 G. Glinksi, Ottawa, Canada K1N 6N5.