【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 fc-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的骨架(删除所有终端符号以仅保留变量的结果)为的(伪)重复,则称模式a为C-(伪)重复我们介绍了一大类模式,该模式概括了一些已知的类,例如fc-local和有界范围重合度模式,并表明对于此类,C-(伪)重复可以在多项式时间内进行匹配。我们还表明,对于大多数C类,C-(伪)重复的类没有限制的树宽。最后,我们表明,如果重复的概念被放宽,则在每次出现时变量都可能以不同的顺序出现,即使在严格限制的情况下,匹配问题也是NP完全的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号