Fast Algorithm for Generating Ascending Compositions

Fast Algorithm for Generating Ascending Compositions

0.00 Avg rating0 Votes
Article ID: iaor20123460
Volume: 11
Issue: 1
Start Page Number: 89
End Page Number: 104
Publication Date: Mar 2012
Journal: Journal of Mathematical Modelling and Algorithms
Authors:
Keywords: heuristics
Abstract:

In this paper we give a fast algorithm to generate all partitions of a positive integer n. Integer partitions may be encoded as either ascending or descending compositions for the purposes of systematic generation. It is known that the ascending composition generation algorithm is substantially more efficient than its descending composition counterpart. Using tree structures for storing the partitions of integers, we develop a new ascending composition generation algorithm which is substantially more efficient than the algorithms from the literature.

Reviews

Required fields are marked *. Your email address will not be published.