English

Exact-size Sampling of Enriched Trees in Linear Time

Combinatorics 2021-10-25 v1

Abstract

Various combinatorial classes such as outerplanar graphs and maps, series-parallel graphs, substitution-closed classes of permutations and many more allow bijective encodings by so-called enriched trees, which are rooted trees with additional structure on the offspring of each node. Using this universal description we develop sampling procedures that uniformly generate objects from this classes with a given size nn in expected time O(n)O(n).The key ingredient is a representation of enriched trees in terms of decorated Bienaym\'e--Galton--Watson trees, which allows us to develop a novel combination of Devroye's efficient sampler for trees (Devroye, 2012) with Boltzmann sampling techniques. Additionally, we construct expected linear time samplers for critical Bienaym\'e--Galton--Watson trees having exactly nn (out of n\ge n total) nodes with outdegree in some fixed set, enabling uniform generation for many combinatorial classes such as dissections of polygons.

Keywords

Cite

@article{arxiv.2110.11472,
  title  = {Exact-size Sampling of Enriched Trees in Linear Time},
  author = {Konstantinos Panagiotou and Leon Ramzews and Benedikt Stufler},
  journal= {arXiv preprint arXiv:2110.11472},
  year   = {2021}
}
R2 v1 2026-06-24T07:05:28.284Z