pith. sign in

arxiv: 1803.03945 · v1 · pith:UATYNTUJnew · submitted 2018-03-11 · 💻 cs.DM · cs.CG· cs.DS

Exact uniform sampling over catalan structures

classification 💻 cs.DM cs.CGcs.DS
keywords samplingalgorithmcatalanexactframeworklinearmainnumber
0
0 comments X
read the original abstract

We present a new framework for creating elegant algorithms for exact uniform sampling of important Catalan structures, such as triangulations of convex polygons, Dyck words, monotonic lattice paths and mountain ranges. Along with sampling, we obtain optimal coding, and optimal number of random bits required for the algorithm. The framework is based on an original two-parameter recursive relation, where Ballot and Catalan numbers appear and which may be regarded as to demonstrate a generalized reduction argument. We then describe (a) a unique $n\times n$ matrix to be used for any of the problems -the common pre-processing step of our framework- and (b) a linear height tree, where leaves correspond one by one to all distinct solutions of each problem; sampling is essentially done by selecting a path from the root to a leaf - the main algorithm. Our main algorithm is linear for a number of the problems mentioned.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Burnside process on parking functions and Dyck paths

    math.PR 2026-05 unverdicted novelty 7.0

    Burnside processes on parking functions and Dyck paths mix in O(n log n) time, yielding approximate uniform sampling algorithms for increasing parking functions, Dyck paths, and polygon triangulations.