【24h】

On Matching Generalised Repetitive Patterns

机译:匹配广义重复模式

获取原文

摘要

A pattern is a string with terminals and variables (which can be uniformly replaced by terminal words). Given a class C of patterns (with variables), we say a pattern a is a C-(pseudo-)repetition if its skeleton - the result of removing all terminal symbols to leave only the variables - is a (pseudo-)repetition of a pattern from C. We introduce a large class of patterns which generalises several known classes such as the k-local and bounded scope coincidence degree patterns, and show that for this class, C-(pseudo-)repetitions can be matched in polynomial time. We also show that for most classes C, the class of C-(pseudo-)repetitions does not have bounded treewidth. Finally, we show that if the notion of repetition is relaxed, so that in each occurrence the variables may occur in a different order, the matching problem is NP-complete, even in severely restricted cases.
机译:模式是具有终端和变量的字符串(可以均匀地由终端单词替换)。鉴于模式的C类(具有变量),我们说一个图案A是一个C-(伪)重复,如果它的骨架 - 删除所有终端符号只留下变量的结果 - 是(伪)重复来自C.的一种模式,我们介绍了大量的模式,它概述了几种已知类别,例如K-Local和有界范围重合程度模式,并显示该类,C-(伪)重复可以在多项式时间中匹配。我们还表明,对于大多数类C,C-(伪)重复的类没有界定的树宽。最后,我们表明,如果重复的概念被放宽,因此在每次出现中,变量可能以不同的顺序发生,匹配问题也是NP-Crexiple,即使在严重限制的情况下也是如此。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号