arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1903.10797math.CO
收藏

一种快速生成升序成分的算法

Fast algorithm for generating ascending compositions

Mircea Merca

摘要:

本文给出了一个快速生成正整数$n$的所有剖分的算法。为了系统生成的目的,可将递归分区编码为升序或降序组成。已知的是,上升合成生成算法比其下降合成对应物实质上更有效。使用树结构存储整数的分区,我们开发了一个新的上升合成生成算法,这是实质上比文献中的算法更有效。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑