Efficient exponential time algorithms for edit distance between unordered trees

  • Authors:
  • Tatsuya Akutsu;Takeyuki Tamura;Daiji Fukagawa;Atsuhiro Takasu

  • Affiliations:
  • Bioinformatics Center, Institute for Chemical Research, Kyoto University, Uji, Kyoto, Japan;Bioinformatics Center, Institute for Chemical Research, Kyoto University, Uji, Kyoto, Japan;Faculty of Culture and Information Science, Doshisha University, Kyoto, Japan;National Institute of Informatics, Tokyo, Japan

  • Venue:
  • CPM'12 Proceedings of the 23rd Annual conference on Combinatorial Pattern Matching
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper presents efficient exponential time algorithms for the unordered tree edit distance problem, which is known to be NP-hard. For a general case, an $O(1.26^{n_1+n_2})$ time algorithm is presented, where n1 and n2 are the numbers of nodes in two input trees. This algorithm is obtained by a combination of dynamic programming, exhaustive search, and maximum weighted bipartite matching. For bounded degree trees over a fixed alphabet, it is shown that the problem can be solved in $O((1+\epsilon)^{n_1+n_2})$ time for any fixed ε0. This result is achieved by avoiding duplicate calculations for identical subsets of small subtrees.