arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1805.06869cs.DS
收藏

重温树编辑距离及其回溯:教程

Revisiting the tree edit distance and its backtracing: A tutorial

Benjamin Paaßen

摘要:

大约30年前,Zhang和Shasha(1989)发表了一篇开创性的论文,描述了一种计算树编辑距离的有效动态规划算法,即将一棵树转换为另一棵树所需的节点删除、插入和替换的最小数量。从那时起,树编辑距离已经被广泛应用,例如在生物学和智能教学系统中。然而,Zhang和Shasha的原始论文对于新手来说可能具有挑战性,并且它没有描述如何有效地推断最佳编辑脚本。在这篇文章中,我们提供了一个全面的教程,张和莎莎的树编辑距离算法。我们进一步证明了树编辑距离的度量属性,并描述了高效的算法来推断最便宜的编辑脚本,以及两棵树之间的所有最便宜的编辑脚本的摘要。

英文摘要:

Almost 30 years ago, Zhang and Shasha (1989) published a seminal paper describing an efficient dynamic programming algorithm computing the tree edit distance, that is, the minimum number of node deletions, insertions, and replacements that are necessary to transform one tree into another. Since then, the tree edit distance has been widely applied, for example in biology and intelligent tutoring systems. However, the original paper of Zhang and Shasha can be challenging to read for newcomers and it does not describe how to efficiently infer the optimal edit script. In this contribution, we provide a comprehensive tutorial to the tree edit distance algorithm of Zhang and Shasha. We further prove metric properties of the tree edit distance, and describe efficient algorithms to infer the cheapest edit script, as well as a summary of all cheapest edit scripts between two trees.

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

↑