计算机科学 > 数据结构与算法
[提交于 2026年2月9日]
标题:Boltzmann sampling and optimal exact-size sampling for directed acyclic graphs
查看中文 PDF 查看原文 PDF EasyResearch 阅读摘要:We propose two efficient algorithms for generating uniform random directed acyclic graphs, including an asymptotically optimal exact-size sampler that performs $\frac{n^2}{2} + o(n^2)$ operations and requests to a random generator. This was achieved by extending the Boltzmann model for graphical generating functions and by using various decompositions of directed acyclic graphs. The presented samplers improve upon the state-of-the-art algorithms in terms of theoretical complexity and offer a significant speed-up in practice.
提交历史
来自:Zbigniew Golebiewski[v1] 2026年2月9日 星期一 10:16:53 UTC