arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2001.01961cs.DScs.CCq-bio.GN
收藏

字符串到图近似匹配的复杂性问题

Complexity Issues of String to Graph Approximate Matching

Riccardo Dondi, Giancarlo Mauri, Italo Zoppis

摘要:

将查询字符串匹配到有向图(其顶点由字符串标记)的问题在从数据采掘到计算生物学的不同领域都有应用。这个问题的几个变体已经被考虑过了,这取决于匹配是精确的还是近似的,在后一种情况下,考虑哪些编辑操作以及允许哪些编辑操作。在本文中,我们提出的近似匹配问题的复杂性,编辑操作是符号替换,只允许在图形标签或图形标签和查询字符串的结果。我们引入一个变种的问题,问是否存在一个路径在一个图中,表示一个查询字符串与任何数量的编辑操作,我们表明,是NP完全的,即使标签的长度为1,在这种情况下,字母表是二进制的。此外,当它是参数化的输入字符串的长度和图形标签的长度为1,我们表明,这个问题是固定参数易处理的,它是不太可能承认一个多项式核。这个问题的NP-完全性导致当编辑操作只允许在图标签上时近似匹配的不可近似性(在任何因素内)。此外,我们表明,我们考虑的图形的近似字符串匹配的变体是不固定参数的易处理的,当参数是编辑操作的数量时,即使对于距离DAG为1的图形。后一个结果的减少使我们能够证明编辑操作可以应用于查询字符串和图形标签的变体的不可逼近性。

英文摘要:

The problem of matching a query string to a directed graph, whose vertices are labeled by strings, has application in different fields, from data mining to computational biology. Several variants of the problem have been considered, depending on the fact that the match is exact or approximate and, in this latter case, which edit operations are considered and where are allowed. In this paper we present results on the complexity of the approximate matching problem, where edit operations are symbol substitutions and are allowed only on the graph labels or both on the graph labels and the query string. We introduce a variant of the problem that asks whether there exists a path in a graph that represents a query string with any number of edit operations and we show that is is NP-complete, even when labels have length one and in the case the alphabet is binary. Moreover, when it is parameterized by the length of the input string and graph labels have length one, we show that the problem is fixed-parameter tractable and it is unlikely to admit a polynomial kernel. The NP-completeness of this problem leads to the inapproximability (within any factor) of the approximate matching when edit operations are allowed only on the graph labels. Moreover, we show that the variants of approximate string matching to graph we consider are not fixed-parameter tractable, when the parameter is the number of edit operations, even for graphs that have distance one from a DAG. The reduction for this latter result allows us to prove the inapproximability of the variant where edit operations can be applied both on the query string and on graph labels.

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

↑