Unlabelled ordered DAGs and labelled DAGs: constructive enumeration and uniform random sampling - Sorbonne Université Accéder directement au contenu
Communication Dans Un Congrès Année : 2021

Unlabelled ordered DAGs and labelled DAGs: constructive enumeration and uniform random sampling

Résumé

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 has been solved in the 70's by Robinson. In many applications one needs to construct connected DAGs and to control their number of edges, but the adaptation of Robinson's enumeration to take this into account led to counting formulas based on the inclusion-exclusion principle, inducing a high computational cost for the uniform random sampling of DAGs based on this formula. In the present paper we propose two contributions. First we enumerate a new class of DAGs, enriched with an independent ordering of the children of each vertex, according to their numbers of vertices and edges. We obtain a constructive recursive counting formula for them (i.e. without using the inclusion-exclusion principle) using a new decomposition scheme. Then we show the applicability of our method by proposing a constructive enumeration of Robinson's labelled DAGs, by vertices and edges, based on the same decomposition. As a consequence we are able to derive efficient uniform random samplers for both models.
Fichier principal
Vignette du fichier
preprint.pdf (915.1 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-03029381 , version 1 (28-11-2020)
hal-03029381 , version 2 (04-12-2020)

Identifiants

Citer

Antoine Genitrini, Martin Pépin, Alfredo Viola. Unlabelled ordered DAGs and labelled DAGs: constructive enumeration and uniform random sampling. The XI Latin and American Algorithms, Graphs and Optimization Symposium, May 2021, Sao Paulo, Brazil. pp.468-477, ⟨10.1016/j.procs.2021.11.057⟩. ⟨hal-03029381v2⟩
239 Consultations
365 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More