一种更快更统一的非平衡二部匹配树比较算法
An Even Faster and More Unifying Algorithm for Comparing Trees via Unbalanced Bipartite Matchings
摘要:
一个广泛使用的方法来确定两个标记树的相似性是计算两棵树的最大协议子树。以前关于这种相似性度量的工作只涉及两种特殊类型的标记树的比较,即均匀标记树(即,其所有节点由相同符号标记的树)和进化树(即,叶子标记的树,不同的叶子有不同的符号)。本文提出了一种算法,比较树的标记以任意的方式。除了这种通用性之外,该算法比以前的算法更快。本文的另一个贡献是最大权二部匹配。我们展示了如何加快最知名的匹配算法时,输入图是节点不平衡或重量不平衡。基于这些增强,我们得到了一个有效的算法,一个新的匹配问题称为层次二分匹配问题,这是我们的最大协议子树算法的核心。
英文摘要:
A widely used method for determining the similarity of two labeled trees is to compute a maximum agreement subtree of the two trees. Previous work on this similarity measure is only concerned with the comparison of labeled trees of two special kinds, namely, uniformly labeled trees (i.e., trees with all their nodes labeled by the same symbol) and evolutionary trees (i.e., leaf-labeled trees with distinct symbols for distinct leaves). This paper presents an algorithm for comparing trees that are labeled in an arbitrary manner. In addition to this generality, this algorithm is faster than the previous algorithms. Another contribution of this paper is on maximum weight bipartite matchings. We show how to speed up the best known matching algorithms when the input graphs are node-unbalanced or weight-unbalanced. Based on these enhancements, we obtain an efficient algorithm for a new matching problem called the hierarchical bipartite matching problem, which is at the core of our maximum agreement subtree algorithm.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。