A Fast Algorithm for Optimal Alignment between Similar Ordered Trees

  • Authors:
  • Jesper Jansson;Andrzej Lingas

  • Affiliations:
  • -;-

  • Venue:
  • CPM '01 Proceedings of the 12th Annual Symposium on Combinatorial Pattern Matching
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a fast algorithm for optimal alignment between two similar ordered trees with node labels. Let S and T be two such trees with |S| and |T| nodes, respectively. An optimal alignment between S and T which uses at most d blank symbols can be constructed in O(n log n 驴 (maxdeg)4 驴 d2) time, where n = max{|S|, |T|} and maxdeg is the maximum degree of a node in S or T. In particular, if the input trees are of bounded degree, the running time is O(n log n 驴 d2)