改进 Florentine 算法:Motzkin 与 Schröder 路径的回收算法
数据结构与算法
2018-03-15 v2 组合数学
摘要
继 Dyck 路径的先前工作之后,我们提出了 Motzkin 和 Schröder 路径的随机采样过程。我们的算法遵循 Florentine 算法(Barcucci 等人 1994+)的预期拒绝法,但引入了一种回收思想以大幅降低拒绝概率。它们使用了最优数量的随机性,并实现了优于 Florentine 算法的时间复杂度。
引用
@article{arxiv.1802.06030,
title = {Improving the Florentine algorithms: recovering algorithms for Motzkin and Schr\"oder paths},
author = {Axel Bacher},
journal= {arXiv preprint arXiv:1802.06030},
year = {2018}
}