k子集和k多重集的通用循环构造
Universal cycle constructions for k-subsets and k-multisets
AI总结:
本文提出了一种新的表示方法,实现了k子集和k多重集的高效通用循环构造,首次在O(1)均摊时间内完成。
摘要:
对于一个组合对象的集合S,通用循环是一个长度为|S|的循环序列,其中每个元素在S中恰好出现一次作为子字符串。如果S是[n] = {1, 2, ..., n}的k子集的集合,已知在使用简单的字符串表示时,通用循环并不总是存在,例如12或21可以表示子集{1, 2}。同样,如果S是[n]的k多重集的集合,使用类似的表示方法时,通用循环也不总是存在,例如112、121或211可以表示多重集{1, 1, 2}。通过将这些集合映射到适当的标记图族,已知通用循环存在,但没有已知的高效构造方法。在本文中,我们考虑了一种新的k子集和k多重集的表示方法,该方法导致了所有n, k ≥ 2的高效通用循环构造。我们提供了后继规则算法,以O(n)时间每符号构造这样的通用循环,使用O(n)空间,并展示了项链连接算法允许在O(1)均摊时间每符号生成相同的序列。它们是已知的第一个高效的k多重集通用循环构造。这些结果是通过考虑有限权de Bruijn序列的构造得到的。特别是,我们展示了有限权的Grandmama de Bruijn序列的推广可以在O(1)均摊时间每符号内构造。
英文摘要:
A universal cycle for a set S of combinatorial objects is a cyclic sequence of length |S|that contains a representation of each element in S exactly once as a substring. If S is the set of k-subsets of [n] = {1, 2, . . . , n}, it is well-known that universal cycles do not always exists when applying a simple string representation, where 12 or 21 could represent the subset {1, 2}. Similarly, if S is the set of k-multisets of [n], it is also known that universal cycles do not always exist using a similar representation, where 112, 121, or 211 could represent the multiset {1, 1, 2}. By mapping these sets to an appropriate family of labeled graphs, universal cycles are known to exist, but without a known efficient construction. In this paper we consider a new representation for k-subsets and k-multisets that leads to efficient universal cycle constructions for all n, k >=2. We provide successor-rule algorithms to construct such universal cycles in O(n) time per symbol using O(n) space and demonstrate that necklace concatenation algorithms allow the same sequences to be generated in O(1) amortized time per symbol. They are the first known efficient universal cycle constructions for k-multisets. The results are obtained by considering constructions for bounded-weight de Bruijn sequences. In particular, we demonstrate that a bounded-weight generalization of the Grandmama de Bruijn sequence can be constructed in O(1) amortized time per symbol.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。