计算机科学 > 数据结构与算法
[提交于 2016年6月17日]
标题:On computing the total displacement number via weighted Motzkin paths
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Counting the number of permutations of a given total displacement is equivalent to counting weighted Motzkin paths of a given area (Guay-Paquet and Petersen, 2014). The former combinatorial problem is still open. In this work, we show that this connection allows to construct efficient algorithms for counting and for sampling such permutations. These algorithms provide a tool to better understand the original combinatorial problem. A by-product of our approach is a different way of counting based on certain building sequences for Motzkin paths, which may be of independent interest.
提交历史
来自:Daniel Graf[v1] 2016年6月17日 星期五 14:42:39 UTC