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

03/16/2023
by   Laurent Alonso, et al.
0

We present three simple algorithms to uniformly generate `Fibonacci words' (i.e., some words that are enumerated by Fibonacci numbers), Schrö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.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset