Exact uniform sampling over catalan structures

03/11/2018
by   Alexandros Angelopoulos, et al.
0

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× 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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/10/2020

An Improved Exact Sampling Algorithm for the Standard Normal Distribution

In 2016, Karney proposed an exact sampling algorithm for the standard no...
research
09/01/2023

A lattice on Dyck paths close to the Tamari lattice

We introduce a new poset structure on Dyck paths where the covering rela...
research
03/16/2023

Uniform random generations and rejection method(I) with binomial majorant

We present three simple algorithms to uniformly generate `Fibonacci word...
research
01/03/2022

The exact complexity of a Robinson tiling

We find the exact formula for the number of distinct n × n square patter...
research
06/14/2011

From Causal Models To Counterfactual Structures

Galles and Pearl claimed that "for recursive models, the causal model fr...
research
12/20/2020

Recursive methods for some problems in coding and random permutations

In this paper, we study three applications of recursion to problems in c...
research
09/21/2017

A New Framework for H_2-Optimal Model Reduction

In this contribution, a new framework for H2-optimal reduction of multip...

Please sign up or login with your details

Forgot password? Click here to reset