Algorithm Z1 Accelerated and Parallel Generation of Integer Partitions in Standard Representation Form —Improving the Fastest Existing Algorithm ZS1
- 1 9226-6642 Quebec Inc., Gatineau, Canada
Abstract
Algorithm ZS1, which generates integer partitions in standard representation and anti-lexicographic order, was first introduced in Mr. Zoghbi’s Master’s thesis, “ Algorithms for Generating Integer Partitions ” (University of Ottawa, 1993), and later published in “ Fast Algorithms for Generating Integer Partitions ” by Zoghbi and Stojmenovi? (International Journal of Computer Mathematics, 1998, Vol. 70, pp. 319-332). The algorithm is widely regarded by specialists as one of the most efficient methods for generating integer partitions. Algorithm Z1 is an optimized refinement of ZS1. Experimental results demonstrate that Z1 achieves up to 36% reduction in execution time compared with ZS1 in single-threaded environments. In addition, multi-threaded implementations of both ZS1 and Z1 attain runtime reductions up to an 89% relative to their sequential counterparts, highlighting the significant impact of compiler optimizations and system architecture on overall performance.
- Zoghbi, A.C. (1993) Algorithms for Generating Integer Partitions. University of Ottawa. https://ruor.uottawa.ca/handle/10393/6506
- Stojmenović, I. and Zoghbi, A. (1998) Fast Algorithms for Genegrating Integer Partitions. International Journal of Computer Mathematics , 70, 319-332. https://doi.org/10.1080/00207169808804755
- Knuth, D.E. (2005) The Art of Computer Programming (TAOCP) Volume 4. Addison Wesley.
- Opdyke, J.D. (2010) A Unified Approach to Algorithms Generating Unrestricted and Restricted Integer Compositions and Integer Partitions. Journal of Mathematical Modelling and Algorithms , 9, 53-97. https://doi.org/10.1007/s10852-009-9116-2
- Landgren, D. (2007) MetaCpan.org. https://metacpan.org/pod/Integer::Partition
- Carabott, A. (2009) Final Year Project Dissertation. University of Sussex. https://www.arthurcarabott.com/assets/projects/konnakkol/dissertation.pdf
- Nayak, A. and Stojmenovic, I. (2008) Handbook of Applied Algorithms.
- Schults, A. (2012) Multiagent Coordination Enabling Autonomous Logistics. https://www.researchgate.net/publication/220634466_Multiagent_Coordination_Enabling_Autonomous_Logistics
- Kelleher, J. (2005) Encoding Partitions as Ascending Compositions. Department of Computer Science, University College Cork. https://jeromekelleher.net/downloads/k06.pdf
- Beaujean, F. (2017) Create Integer Partitions in Multiplicity Representation. https://gist.github.com/fredRos/1be056502742dba0753828e7852f9986
- Julie Documentation. Combinatorics. https://ulthiel.github.io/JuLie.jl/stable/combinatorics/
- Stein, W. and Bober, J. (2007) Iterators over the Partitions of an Integer. http://sporadic.stanford.edu/reference/combinat/sage/combinat/partitions.html
- University of Waterloo (2017) Introduction. https://cs.uwaterloo.ca/journals/JIS/VOL20/Mertens/mert4.tex
- Kowalenko, V. (2021) Developments from Programming the Partitions Method for a Power Series Expansion. https://arxiv.org/pdf/1203.4967
- Jann, B. (2008) Multinomial Goodness-of-Fit: Large-Sample Tests with Survey. AgEcon Search. https://ageconsearch.umn.edu/record/122584/files/sjart_st0142.pdf
- Wolff, R. (2017) The Integer Nucleolus of Directed Simple Games: A Characterization and an Algorithm. Games , 8, Article 16. https://doi.org/10.3390/g8010016