We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.DS

Change to browse by:

cs

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Data Structures and Algorithms

Title: Revisiting the tree edit distance and its backtracing: A tutorial

Abstract: 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.
Comments: Supplementary material for the ICML 2018 paper: Tree Edit Distance Learning via Adaptive Symbol Embeddings
Subjects: Data Structures and Algorithms (cs.DS)
Cite as: arXiv:1805.06869 [cs.DS]
  (or arXiv:1805.06869v4 [cs.DS] for this version)

Submission history

From: Benjamin Paassen [view email]
[v1] Thu, 17 May 2018 17:16:07 GMT (44kb)
[v2] Fri, 26 Oct 2018 12:01:18 GMT (49kb)
[v3] Tue, 13 Apr 2021 16:47:17 GMT (49kb)
[v4] Wed, 14 Sep 2022 09:30:03 GMT (50kb)

Link back to: arXiv, form interface, contact.