arXiv · 2303.09338
Uniform random generations and rejection method(I) with binomial majorant
Abstract
We present three simple algorithms to uniformly generate `Fibonacci words' (i.e., some words that are enumerated by Fibonacci numbers), Schr{\"o}der trees of size $n$ and Motzkin left factors of size $n$ and final height $h$. These algorithms have an average complexity of $O(n)$ in the unit-cost RAM model.
Explore related subjects
Keep this discovery
Laurent Alonso. 2023-03-16. Uniform random generations and rejection method(I) with binomial majorant. https://arxiv.org/abs/2303.09338
Cite the original work for its findings. Save a collection to share your selection of sources.