计算机科学 > 离散数学
[提交于 2021年5月16日]
标题:Lexicographic Enumeration of Set Partitions
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:In this report, we summarize the set partition enumeration problems and thoroughly explain the algorithms used to solve them. These algorithms iterate through the partitions in lexicographic order and are easy to understand and implement in modern high-level programming languages, without recursive structures and jump logic. We show that they require linear space in respect to the set cardinality and advance the enumeration in constant amortized time. The methods discussed in this document are not novel. Our goal is to demonstrate the process of enumerating set partitions and highlight the ideas behind it. This work is an aid for learners approaching this enumeration problem and programmers undertaking the task of implementing it.
提交历史
来自:Giorgos Stamatelatos[v1] 2021年5月16日 星期日 16:27:46 UTC