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 条
  • [31] Counting humps in Motzkin paths
    Ding, Yun
    Du, Rosena R. X.
    DISCRETE APPLIED MATHEMATICS, 2012, 160 (1-2) : 187 - 191
  • [32] A Relation Between Schroder Paths and Motzkin Paths
    Yang, Lin
    Yang, Sheng-Liang
    GRAPHS AND COMBINATORICS, 2020, 36 (05) : 1489 - 1502
  • [33] Cyclic descents for Motzkin paths
    Han, Bin
    DISCRETE MATHEMATICS, 2023, 346 (08)
  • [34] Forces in Motzkin paths in a wedge
    van Rensburg, EJJ
    JOURNAL OF PHYSICS A-MATHEMATICAL AND GENERAL, 2006, 39 (07): : 1581 - 1608
  • [35] Crossings, Motzkin paths and moments
    Josuat-Verges, Matthieu
    Rubey, Martin
    DISCRETE MATHEMATICS, 2011, 311 (18-19) : 2064 - 2078
  • [36] Bijective recurrences for Motzkin paths
    Sulanke, RA
    ADVANCES IN APPLIED MATHEMATICS, 2001, 27 (2-3) : 627 - 640
  • [37] Potential polynomials and Motzkin paths
    Sun, Yidong
    DISCRETE MATHEMATICS, 2009, 309 (09) : 2640 - 2648
  • [38] A partial order on Motzkin paths
    Fang, Wenjie
    DISCRETE MATHEMATICS, 2020, 343 (05)
  • [39] Restricted involutions and Motzkin paths
    Barnabei, Marilena
    Bonetti, Flavio
    Silimbani, Matteo
    ADVANCES IN APPLIED MATHEMATICS, 2011, 47 (01) : 102 - 115
  • [40] PEAKS AND VALLEYS IN MOTZKIN PATHS
    Brennan, Charlotte
    Mavhungu, Simon
    QUAESTIONES MATHEMATICAE, 2010, 33 (02) : 171 - 188