Non uniform random generation of generalized Motzkin paths

被引:0
|
作者
Srečko Brlek
Elisa Pergola
Olivier Roques
机构
[1] Un. Québec à Montréal,LaCIM, Département d'informatique
[2] Un. di Firenze,Dipartimento di Sistemi e Informatica
[3] Université Bordeaux 1,LaBRI
来源
Acta Informatica | 2006年 / 42卷
关键词
Generalized Motzkin path; Random generation; Rejection;
D O I
暂无
中图分类号
学科分类号
摘要
We consider in this paper the class Mkn of generalized Motzkin paths of length n, that is, lattice paths using steps (1,1), (1,−1), (k,0), where k is a fixed positive integer, starting at the origin (0,0), running above the x-axis, and ending at (n,0). The area is the region bounded by the path and the x-axis. We first establish a bijection between the area of paths in Mkn and some lattice paths of length n+1. Then, by using a rejection technique, we obtain a linear algorithm with an average time complexity (k mod 2 +1)(n+1).
引用
收藏
页码:603 / 616
页数:13
相关论文
共 50 条
  • [21] When Numerical Analysis Crosses Paths with Catalan and Generalized Motzkin Numbers
    Eloe, Paul
    Kublik, Catherine
    JOURNAL OF INTEGER SEQUENCES, 2018, 21 (08)
  • [22] Pulled Motzkin paths
    Janse van Rensburg, E. J.
    JOURNAL OF PHYSICS A-MATHEMATICAL AND THEORETICAL, 2010, 43 (33)
  • [23] Skew Motzkin Paths
    Lu, Qing Lin
    ACTA MATHEMATICA SINICA-ENGLISH SERIES, 2017, 33 (05) : 657 - 667
  • [24] The amplitude of Motzkin paths
    Prodinger, Helmut
    NOTES ON NUMBER THEORY AND DISCRETE MATHEMATICS, 2022, 28 (01) : 41 - 47
  • [25] Adsorbing Motzkin paths
    Janse van Rensburg, E. J.
    JOURNAL OF PHYSICS A-MATHEMATICAL AND THEORETICAL, 2010, 43 (48)
  • [26] Skew Motzkin Paths
    Qing Lin LU
    Acta Mathematica Sinica,English Series, 2017, (05) : 657 - 667
  • [27] Skew Motzkin paths
    Qing Lin Lu
    Acta Mathematica Sinica, English Series, 2017, 33 : 657 - 667
  • [28] Dyck paths, Motzkin paths and traffic jams
    Blythe, RA
    Janke, W
    Johnston, DA
    Kenna, R
    JOURNAL OF STATISTICAL MECHANICS-THEORY AND EXPERIMENT, 2004,
  • [29] CROSS-BIFIX-FREE SETS GENERATION VIA MOTZKIN PATHS
    Barcucci, Elena
    Bilotta, Stefano
    Pergola, Elisa
    Pinzani, Renzo
    Succi, Jonathan
    RAIRO-THEORETICAL INFORMATICS AND APPLICATIONS, 2016, 50 (01): : 81 - 91
  • [30] Dyck Paths, Motzkin Paths, and the Binomial Transform
    Capparelli, Stefano
    Del Fra, Alberto
    JOURNAL OF INTEGER SEQUENCES, 2015, 18 (08)