Subscribe
Issue No.12 - December (1996 vol.45)
pp: 1426-1434
ABSTRACT
<p><b>Abstract</b>—Quantifying the measure of similarity between two trees is a problem of intrinsic importance in the study of algorithms and data structures and has applications in computational molecular biology, structural/syntactic pattern recognition and in data management. In this paper we define and formulate an abstract measure of comparison, Ω(T<sub>1</sub>, T<sub>2</sub>), between two trees T<sub>1</sub> and T<sub>2</sub> presented in terms of a set of elementary intersymbol measures ω(., .) and two abstract operators <tmath>$\oplus$</tmath> and <tmath>$\otimes$</tmath>. By appropriately choosing the concrete values for these two operators and for ω(., .), this measure can be used to define various quantities including 1) the edit distance between two trees, 2) the size of their largest common subtree, 3) Prob(T<sub>2</sub> | T<sub>1</sub>), the probability of receiving T<sub>2</sub> given that T<sub>1</sub> was transmitted across a channel causing independent substitution and deletion errors, and 4) the a posteriori probability of T<sub>1</sub> being the transmitted tree given that T<sub>2</sub> is the received tree containing independent substitution, insertion and deletion errors. The recursive properties of Ω(T<sub>1</sub>, T<sub>2</sub>) have been derived and a single generic iterative dynamic programming scheme to compute all the above quantities has been developed. The time and space complexities of the algorithm have been analyzed and the implications of our results in both theoretical and applied fields has been discussed.</p>
INDEX TERMS
Tree comparison metrics, tree comparison algorithms, algorithms for structure comparison, generic strategies for tree comparisons.
CITATION
B.j. Oommen, K. Zhang, W. Lee, "Numerical Similarity and Dissimilarity Measures Between Two Trees", IEEE Transactions on Computers, vol.45, no. 12, pp. 1426-1434, December 1996, doi:10.1109/12.545972