计算机科学 > 数据结构与算法
[提交于 2026年6月11日]
标题:Random Generation of $k$-coloured Motzkin Paths
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We study k-coloured Motzkin paths, namely Motzkin paths in which horizontal steps can be coloured in k different ways, and investigate their connection with the number of prefixes ending at odd height from both an analytical and a combinatorial point of view. Moreover, the combinatorial approach provides a random generation algorithm for k-coloured Motzkin paths in linear-time.
提交历史
来自:EPTCS[v1] 2026年6月11日 星期四 10:26:29 UTC