English

Improving the Florentine algorithms: recovering algorithms for Motzkin and Schr\"oder paths

Data Structures and Algorithms 2018-03-15 v2 Combinatorics

Abstract

We present random sampling procedures for Motzkin and Schr\"oder paths, following previous work on Dyck paths. Our algorithms follow the anticipated rejection method of the Florentine algorithms (Barcucci et al. 1994+), but introduce a recovery idea to greatly reduce the probability of rejection. They use an optimal amount of randomness and achieve a better time complexity than the Florentine algorithms.

Keywords

Cite

@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}
}
R2 v1 2026-06-23T00:24:47.588Z