Asymptotic analysis and efficient random sampling of directed ordered acyclic graphs

03/26/2023
by   Martin Pépin, et al.
0

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.

READ FULL TEXT
research
01/23/2020

Counting directed acyclic and elementary digraphs

Directed acyclic graphs (DAGs) can be characterised as directed graphs w...
research
02/24/2023

The number of descendants in a random directed acyclic graph

We consider a well known model of random directed acyclic graphs of orde...
research
01/06/2022

BFS based distributed algorithm for parallel local directed sub-graph enumeration

Estimating the frequency of sub-graphs is of importance for many tasks, ...
research
06/05/2018

MRPC: An R package for accurate inference of causal graphs

We present MRPC, an R package that learns causal graphs with improved ac...
research
09/25/2020

The birth of the strong components

Random directed graphs D(n,p) undergo a phase transition around the poin...
research
07/01/2023

Abstract Orientable Incidence Structure and Algorithms for Finite Bounded Acyclic Categories. II. Data Structure and Fundamental Operations

A data structure for finite bounded acyclic categories has been built, w...
research
06/02/2021

Testing Directed Acyclic Graph via Structural, Supervised and Generative Adversarial Learning

In this article, we propose a new hypothesis testing method for directed...

Please sign up or login with your details

Forgot password? Click here to reset