© 1980 by British Computer Society
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
A binary tree representation and related algorithms for generating integer partitions
Department of Computer Science, Birkbeck College, University of London, Malet Street, London, UK
A representation of the partitions of an integer as a binary tree is presented, and the structure of this tree is related to the lexicographic ordering of the set of partitions. The appropriate recursive traversal algorithm for this binary tree immediately yields a recursive algorithm for generating the set of partitions in lexicographic order. Further consideration of the structure of the tree enables us to transform this version of the algorithm into a non-recursive loop-free version. Similar consideration of another recursive traversal algorithm yields corresponding algorithms for generating the set of partitions in a different order.
Received April 1979.
* Department of Computer Science, Birkbeck College, University of London, Malet Street, London WC1E 7HX
![]()
CiteULike
Connotea
Del.icio.us What's this?
This article has been cited by other articles:
![]() |
K. YAMANAKA, S.-i. KAWANO, Y. KIKUCHI, and S.-i. NAKANO Constant Time Generation of Integer Partitions IEICE Trans A: Fundamentals, May 1, 2007; E90-A(5): 888 - 895. [Abstract] [PDF] |
||||
