Paper record

W2121241385

Fast algorithms for genegrating integer partitions

Ivan Stojmenović, Antoine Zoghbi

Year
1998
Venue
International Journal of Computer Mathematics
References
49
Cited by
105

Details and counts from OpenAlex.

Abstract

We present two new algorithms for generating integer partitions in the standard representation. They generate partitions in lexicographic and anti-lexicographic order, respectively. We prove that both algorithm generate partitions with constant average delay, exclusive of the output. These are the first known algorithms to produce partitions in the standard representation and with constant average delay. The performance of all known integer partition algorithms-is measured and compared, separately for the standard and multiplicity representation. An empirical test shows that both new algorithms are several times faster than any of previously known algorithms for generating unrestricted integer partitions in the standard representation. Moreover, they are faster than any known algorithm for generating integer partition in the multiplicity representation (exclusive of the output).