arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1906.06965cs.DScs.CCcs.FL
收藏

使用变量匹配模式

Matching Patterns with Variables

Florin Manea, Markus L. Schmid

摘要:

模式p(即,一串变量和终端)匹配一个词w,如果w可以通过用终端词均匀地替换p的变量来获得。相应的匹配问题,即,决定给定模式是否匹配给定单词通常是NP完全的,但对于具有限制结构的模式类可以在多项式时间内求解。在本文中,我们概述了一系列最近的结果与变量模式的有效匹配,以及一系列的扩展这个问题。

英文摘要:

A pattern p (i.e., a string of variables and terminals) matches a word w, if w can be obtained by uniformly replacing the variables of p by terminal words. The respective matching problem, i.e., deciding whether or not a given pattern matches a given word, is generally NP-complete, but can be solved in polynomial-time for classes of patterns with restricted structure. In this paper we overview a series of recent results related to efficient matching for patterns with variables, as well as a series of extensions of this problem.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑