Abstract
In this paper we present techniques to significantly improve the space complexity of several ordered tree comparison algorithms without sacrificing the corresponding time complexity. We present new algorithms for computing the constrained ordered tree edit distance and the alignment of (ordered) trees. The techniques can also be applied to other related problems.
Similar content being viewed by others
References
Bille, P.: A survey on tree edit distance and related problems. Theor. Comput. Sci. 337, 217–239 (2005)
Chodorow, M., Klavans, J.L.: Locating syntactic patterns in text corpora. Manuscript, Lexical systems, IBM Research, T.J. Watson Research Center, Yorktown Heights, New York (1990)
Dulucq, S., Touzet, H.: Decomposition algorithm for tree editing distance. J. Discrete Algorithms (2004)
Hirschberg, D.S.: A linear space algorithm for computing maximal common subsequences. Commun. ACM 18, 341–343 (1975)
Jiang, T., Wang, L., Zhang, K.: Alignment of trees—an alternative to tree edit. Theor. Comput. Sci. 143(1), 137–148 (1995)
Klein, P.: Computing the edit-distance between unrooted ordered trees. In: Proceedings of 6th European Symposium on Algorithms, pp. 91–102 (1998)
Richter, T.: A new measure of the distance between ordered trees and its applications. Technical Report 85166-cs, Department of Computer Science, University of Bonn (1997)
Shapiro, B., Zhang, K.: Comparing multiple RNA secondary structures using tree comparisons. Comput. Appl. Biosci. 6(4), 309–318 (1990)
Selkow, S.M.: The tree-to-tree editing problem. Inf. Process. Lett. 6, 184–186 (1977)
Tai, K.C.: The tree-to-tree correction problem. J. ACM 26, 422–433 (1979)
Wang, L., Zhao, J.: Parametric alignment of ordered trees. Bioinformatics 19, 2237–2245 (2003)
Zhang, K.: Algorithms for the constrained editing distance between ordered labeled trees and related problems. Pattern Recognit. 28(3), 463–474 (1995)
Zhang, K.: Efficient parallel algorithms for tree editing problems. In: Proceedings of the Seventh Symposium on Combinatorial Pattern Matching, Laguna Beach, California, June 1996. Lecture Notes in Computer Science, vol. 1075, pp. 361–372. Springer, Berlin (1996)
Zhang, K.: Computing similarity between RNA secondary structures. In: Proceedings of IEEE International Joint Symposia on Intelligence and Systems, Rockville, Maryland, pp. 126–132 (May 1998)
Zhang, K., Shasha, D.: Simple fast algorithms for the editing distance between trees and related problems. SIAM J. Comput. 18(6), 1245–1262 (1989)
Zhang, K., Wang, J.T.L., Shasha, D.: On the editing distance between undirected acyclic graphs. Int. J. Found. Comput. Sci. 7(1), 43–57 (1996)
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Wang, L., Zhang, K. Space Efficient Algorithms for Ordered Tree Comparison. Algorithmica 51, 283–297 (2008). https://doi.org/10.1007/s00453-007-9100-z
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s00453-007-9100-z