arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2303.14710cs.DMmath.CO
收藏

有向有序无环图的渐近分析与高效随机采样

Asymptotic analysis and efficient random sampling of directed ordered acyclic graphs

Casa de Investigadores Cientı́ficos La Comarca(拉科马尔卡科学研究中心)

Martin Pépin, Alfredo Viola

AI总结:

本文研究带顶点出边独立排序的新型有向无环图变体,提出可控/不可控边数的高效采样算法并推导其数量渐近等价式,还提出首个可完全控边的带标记DAG采样算法,满足应用需求。

摘要:

有向无环图(DAGs)是不存在从顶点到自身的路径的有向图,是计算机科学中无处不在的数据结构。对给定顶点数的DAG进行计数以及对其进行均匀随机采样的问题,已分别在20世纪70年代和21世纪初得到解决。本文提出探索该模型的一种新变体:为DAG的每个顶点的出边赋予独立的排序,从而可对多种现有数据结构进行建模。我们提出了用于采样这类新对象的高效算法,既支持控制边数也支持不控制边数的情况,并得到了其数量的渐近等价式。我们还基于类似方法,提出了一种用于随机生成具有指定顶点数和边数的经典带标记DAG的有效算法,以此证明了本方法的适用性。这是已知首个可完全控制边数的带标记DAG采样算法,满足了文献中早已认可的应用需求。

英文摘要:

Directed acyclic graphs (DAGs) are directed graphs in which there is no path from a vertex to itself. DAGs are an omnipresent data structure in computer science and the problem of counting the DAGs of given number of vertices and to sample them uniformly at random has been solved respectively in the 70's and the 00's. In this paper, we propose to explore a new variation of this model where DAGs are endowed with an independent ordering of the out-edges of each vertex, thus allowing to model a wide range of existing data structures. We provide efficient algorithms for sampling objects of this new class, both with or without control on the number of edges, and obtain an asymptotic equivalent of their number. We also show the applicability of our method by providing an effective algorithm for the random generation of classical labelled DAGs with a prescribed number of vertices and edges, based on a similar approach. This is the first known algorithm for sampling labelled DAGs with full control on the number of edges, and it meets a need in terms of applications, that had already been acknowledged in the literature.

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

↑