An optimal decomposition algorithm for tree edit distance

78Citations
Citations of this article
54Readers
Mendeley users who have this article in their library.
Get full text

Abstract

The edit distance between two ordered rooted trees with vertex labels is the minimum cost of transforming one tree into the other by a sequence of elementary operations consisting of deleting and relabeling existing nodes, as well as inserting new nodes. In this paper, we present a worst-case O(n 3)-time algorithm for this problem, improving the previous best O(n3 log n)-time algorithm [7]. Our result requires a novel adaptive strategy for deciding how a dynamic program divides into subproblems, together with a deeper understanding of the previous algorithms for the problem. We prove the optimality of our algorithm among the family of decomposition strategy algorithms-which also includes the previous fastest algorithms-by tightening the known lower bound of Q(n2 log2 n) [4] to Ωn 3), matching our algorithm's running time. Furthermore, we obtain matching upper and lower bounds of ⊖(nm2(1 + log m/n)) when the two trees have sizes m and n where m < n. © Springer-Verlag Berlin Heidelberg 2007.

Cite

CITATION STYLE

APA

Demaine, E. D., Mozes, S., Rossman, B., & Weimann, O. (2007). An optimal decomposition algorithm for tree edit distance. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 4596 LNCS, pp. 146–157). Springer Verlag. https://doi.org/10.1007/978-3-540-73420-8_15

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free