arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.16545cs.DMmath.CO
收藏

生成随机通用循环和德布罗因序列的拉斯维加斯算法

Las Vegas algorithms to generate universal cycles and de Bruijn sequences uniformly at random

Joe Sawada, Daniel Gabrić

AI总结:

本文提出了一种生成随机通用循环和德布罗因序列的拉斯维加斯算法,通过随机游走生成随机树并实现高效的随机生成。

摘要:

我们提出了生成随机通用循环的实用算法。具体而言,我们考虑了用于简写排列、子集和多重集排列、弱顺序和可定向序列的通用循环。此外,我们还考虑了德布罗因序列、具有权重范围的德布罗因序列以及禁止包含$0^z$子串的德布罗因序列。每个算法以给定集合中的随机元素为种子,应用底层欧拉德布罗因图上的随机游走以获得随机树( spanning in-tree)。给定随机树和德布罗因图,可以在每个符号上以常数时间生成相应的随机通用循环。我们展示了使用拉斯维加斯算法计算每个对象随机树的平均覆盖时间的实验结果。

英文摘要:

We present practical algorithms for generating universal cycles uniformly at random. In particular, we consider universal cycles for shorthand permutations, subsets and multiset permutations, weak orders, and orientable sequences. Additionally, we consider de Bruijn sequences, weight-range de Bruin sequences, and de Bruijn sequences, with forbidden $0^z$ substring. Each algorithm, seeded with a random element from the given set, applies a random walk of an underlying Eulerian de Bruijn graph to obtain a random arborescence (spanning in-tree). Given the random arborescence and the de Bruijn graph, a corresponding random universal cycle can be generated in constant time per symbol. We present experimental results on the average cover time needed to compute a random arborescence for each object using a Las Vegas algorithm.

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

↑