arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1602.07210cs.DScs.CC
收藏

最大公共子树同构问题的快速算法

Faster Algorithms for the Maximum Common Subtree Isomorphism Problem

Andre Droschinsky, Nils M. Kriege, Petra Mutzel

摘要:

最大公共子树同构问题要求两个给定输入树的子树之间的最大可能同构。该问题是最大公共子图问题的一个自然限制,而最大公共子图问题在一般图中是${\sf NP}$ -困难的.限制到树使得多项式时间算法成为可能,并且对于更一般的图类的方法具有根本的重要性。这个问题在树中的各种变体已经被深入研究。我们考虑一般情况下,树既不扎根,也不订购和同构是最大的w.r.t.在映射的顶点和边上的权重函数。对于树的顺序$n$和最大程度$Δ$我们的算法实现了运行时间的$\mathcal{O}(n^2Δ)$通过利用结构的匹配实例出现的子问题。因此,我们的算法优于最好的以前已知的方法。没有更快的算法是可能的树的有界度和树的无界度,我们表明,进一步减少运行时间将直接提高最知名的方法分配问题。结合多项式延迟算法的所有最大公共子树同构的枚举与我们的新算法的中心思想,导致其运行时间的改善从$\mathcal{O}(n^6+Tn^2)$到$\mathcal{O}(n^3+TnΔ)$,其中$n$是较大的树的顺序,$T$是不同的解决方案的数量,和$Δ$是输入树的最大程度的最小值。我们的理论结果得到了补充的合成和现实世界的情况下的实验评估。

英文摘要:

The maximum common subtree isomorphism problem asks for the largest possible isomorphism between subtrees of two given input trees. This problem is a natural restriction of the maximum common subgraph problem, which is ${\sf NP}$-hard in general graphs. Confining to trees renders polynomial time algorithms possible and is of fundamental importance for approaches on more general graph classes. Various variants of this problem in trees have been intensively studied. We consider the general case, where trees are neither rooted nor ordered and the isomorphism is maximum w.r.t. a weight function on the mapped vertices and edges. For trees of order $n$ and maximum degree $Δ$ our algorithm achieves a running time of $\mathcal{O}(n^2Δ)$ by exploiting the structure of the matching instances arising as subproblems. Thus our algorithm outperforms the best previously known approaches. No faster algorithm is possible for trees of bounded degree and for trees of unbounded degree we show that a further reduction of the running time would directly improve the best known approach to the assignment problem. Combining a polynomial-delay algorithm for the enumeration of all maximum common subtree isomorphisms with central ideas of our new algorithm leads to an improvement of its running time from $\mathcal{O}(n^6+Tn^2)$ to $\mathcal{O}(n^3+TnΔ)$, where $n$ is the order of the larger tree, $T$ is the number of different solutions, and $Δ$ is the minimum of the maximum degrees of the input trees. Our theoretical results are supplemented by an experimental evaluation on synthetic and real-world instances.

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

↑