The Complexity of Pattern Matching for 321-Avoiding and Skew-Merged Permutations.

CoRR(2016)

引用 25|浏览17
暂无评分
摘要
The PERMUTATION PATTERN MATCHING problem, asking whether a pattern permutation pi is contained in a text permutation tau, is known to be NP-complete. We present two polynomial time algorithms for special cases. The first is applicable if both pi and tau are 321-avoiding while the second is applicable if both permutations are skew-merged. Both algorithms have a runtime of O (kn), where k is the length of pi and n the length of tau.
更多
查看译文
关键词
pattern matching,permutation class,permutation pattern
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要