Tree Edit Distance Function
(Redirected from Tree Edit Distance)
Jump to navigation
Jump to search
A Tree Edit Distance Function is an Tree Distance Function that is also an Edit Distance Function.
- AKA: Tree-Edit Distance.
- See: Graph Edit Distance Function.
References
1998
- (Klein, 1998) ⇒ Philip N. Klein. (1998). “Computing the Edit-Distance Between Unrooted Ordered Trees. Algorithms — ESA’ 98. doi:10.1007/3-540-68530-8
- An ordered tree is a tree in which each node’s incident edges are cyclically ordered; think of the tree as being embedded in the plane. Let A and B be two ordered trees. The edit distance between A and B is the minimum cost of a sequence of operations (contract an edge, uncontract an edge, modify the label of an edge) needed to transform A into B. We give an O(n3 log n) algorithm to compute the edit distance between two ordered trees.