Title :
An algorithm for finding the largest approximately common substructures of two trees
Author :
Wang, Jason T L ; Shapiro, Bruce A. ; Shasha, Dennis ; Zhang, Kaizhong ; Currey, Kathleen M.
Author_Institution :
Dept. of Comput. & Inf. Sci., New Jersey Inst. of Technol., Newark, NJ, USA
fDate :
8/1/1998 12:00:00 AM
Abstract :
Ordered, labeled trees are trees in which each node has a label and the left-to-right order of its children (if it has any) is fixed. Such trees have many applications in vision, pattern recognition, molecular biology and natural language processing. We consider a substructure of an ordered labeled tree T to be a connected subgraph of T. Given two ordered labeled trees T1 and T2 and an integer d, the largest approximately common substructure problem is to find a substructure U1 of T1 and a substructure U2 of T2 such that U1 is within edit distance d of U2 and where there does not exist any other substructure V1 of T1 and V2 of T2 such that V1 and V2 satisfy the distance constraint and the sum of the sizes of V1 and V2 is greater than the sum of the sizes of U1 and U2. We present a dynamic programming algorithm to solve this problem, which runs as fast as the fastest known algorithm for computing the edit distance of two trees when the distance allowed in the common substructures is a constant independent of the input trees. To demonstrate the utility of our algorithm, we discuss its application to discovering motifs in multiple RNA secondary structures (which are ordered labeled trees)
Keywords :
dynamic programming; pattern recognition; trees (mathematics); connected subgraph; dynamic programming algorithm; edit distance; largest approximately common substructures; multiple RNA secondary structures; ordered labeled trees; Costs; Dynamic programming; Heuristic algorithms; Natural language processing; Pattern recognition; Pediatrics; RNA; Sequences; Tree data structures; Tree graphs;
Journal_Title :
Pattern Analysis and Machine Intelligence, IEEE Transactions on