计算机科学 > 离散数学
[提交于 2023年3月16日]
标题:Uniform random generations and rejection method(I) with binomial majorant
查看中文 PDF 查看原文 PDF EasyResearch 阅读摘要: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.
提交历史
来自:Laurent Alonso[v1] 2023年3月16日 星期四 14:19:31 UTC