Simple Fast Algorithms for the Editing Distance Between Trees and Related Problems

Ordered labeled trees are trees in which the left-to-right order among siblings is significant. The distance between two ordered trees is considered to be the weighted number of edit operations (insert, delete, and modify) to transform one tree to another. The problem of approximate tree matching is also considered. Specifically, algorithms are designed to answer the following kinds of questions:1. What is the distance between two trees? 2. What is the minimum distance between $T_1 $ and $T_2 $ when zero or more subtrees can be removed from $T_2 $? 3. Let the pruning of a tree at node n mean removing all the descendants of node n. The analogous question for prunings as for subtrees is answered.A dynamic programming algorithm is presented to solve the three questions in sequential time $O(|T_1 | \times |T_2 | \times \min ({\textit{depth}}(T_1 ),{\textit{leaves}}(T_1 )) \times \min ({\textit{depth}}(T_2 ),{\textit{leaves}}(T_2 )))$ and space $O(|T_1 | \times |T_2 |)$ compared with $O(|T_1 | \times |T_2 | \t...

[1]  B. Berkhout,et al.  Lysis gene of bacteriophage MS2 is activated by translation termination at the overlapping coat gene. , 1987, Journal of molecular biology.

[2]  P. Sellers On the Theory and Computation of Evolutionary Distances , 1974 .

[3]  Christoph M. Hoffmann,et al.  Pattern Matching in Trees , 1982, JACM.

[4]  Esko Ukkonen,et al.  On Approximate String Matching , 1983, FCT.

[5]  Michael J. Fischer,et al.  The String-to-String Correction Problem , 1974, JACM.

[6]  J L Sussman,et al.  Three-dimensional structure of a transfer rna in two crystal forms. , 1976, Science.

[7]  Kaizhong Zhang,et al.  The editing distance between trees: Algorithms and applications , 1989 .

[8]  Kuo-Chung Tai,et al.  The Tree-to-Tree Correction Problem , 1979, JACM.

[9]  Shin-Yee Lu A Tree-to-Tree Distance and Its Application to Cluster Analysis , 1979, IEEE Transactions on Pattern Analysis and Machine Intelligence.

[10]  D. Draper,et al.  S4-alpha mRNA translation regulation complex. II. Secondary structures of the RNA regulatory site in the presence and absence of S4. , 1987, Journal of molecular biology.

[11]  S. Altuvia,et al.  RNase III stimulates the translation of the cIII gene of bacteriophage lambda. , 1987, Proceedings of the National Academy of Sciences of the United States of America.

[12]  Gad M. Landau,et al.  Introducing efficient parallelism into approximate string matching and a new serial algorithm , 1986, STOC '86.

[13]  Bruce A. Shapiro,et al.  An algorithm for comparing multiple RNA secondary structures , 1988, Comput. Appl. Biosci..