Skip to main content

Approximation and special cases of common subtrees and editing distance

  • Session 3b: Invited Presentation
  • Conference paper
  • First Online:
Algorithms and Computation (ISAAC 1996)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 1178))

Included in the following conference series:

Abstract

Given two rooted, labeled, unordered trees, the common subtree problem is to find a bijective matching between subsets of vertices of the trees of maximum cardinality which preserves labels and ancestry relationship. The tree editing distance problem is to determine the least cost sequence of additions, deletions and changes that converts a tree into another given tree. Both problems are known to be hard to approximate within some constant factor in general.

We present polynomial algorithms for several special classes of trees as well as a tighter approximation hardness proof, which together comes close to characterizing the complexity of both problems on all interesting special classes of trees. We also present the first approximation algorithm with non-trivial approximation ratios. In particular, we achieve a ratio of log2 n, where n is the number of vertices in the trees.

Work done in large part while the first author visited JAIST, first as PFU Visiting Chair, and later supported by JAIST Foundation. Also work done in part while the second author visited NTT Telecommunication Networks Laboratories under the supervision of Toshihiko Yamakami.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Crescenzi, P., and Kann, V. A compendium of NP optimization problems. Dynamic on-line survey available at ftp.nada.kth.se, Oct. 1995.

    Google Scholar 

  2. Yamaguchi, A. Approximation algorithm for the maximum common hereditary subtree problem. Manuscript. (In Japanese), Nov. 1994.

    Google Scholar 

  3. Zhang, K., and Jiang, T. Some MAX SNP-hard results concerning unordered labeled trees. Inf. Process. Lett. 42 (1994), 133–139.

    Article  Google Scholar 

  4. Zhang, K., Statman, R., and Shasha, D. On the editing distance between unordered labeled trees. Inf. Process. Lett. 42 (1992), 133–139.

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Tetsuo Asano Yoshihide Igarashi Hiroshi Nagamochi Satoru Miyano Subhash Suri

Rights and permissions

Reprints and permissions

Copyright information

© 1996 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Halldórsson, M.M., Tanaka, K. (1996). Approximation and special cases of common subtrees and editing distance. In: Asano, T., Igarashi, Y., Nagamochi, H., Miyano, S., Suri, S. (eds) Algorithms and Computation. ISAAC 1996. Lecture Notes in Computer Science, vol 1178. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0009483

Download citation

  • DOI: https://doi.org/10.1007/BFb0009483

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-62048-8

  • Online ISBN: 978-3-540-49633-5

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics