DocumentCode :
2785465
Title :
A New Top-Down Algorithm for Tree Inclusion
Author :
Chen, Yangjun ; Chen, Yibin
Author_Institution :
Dept. Appl. Comput. Sci., Univ. of Winnipeg, Winnipeg, MB, Canada
fYear :
2010
fDate :
10-12 Oct. 2010
Firstpage :
293
Lastpage :
300
Abstract :
We consider the following tree-matching problem: Given labeled, ordered trees P and T, can P be obtained from T by deleting nodes? Deleting a node v entails removing all edges incident to v and, if v has a parent u, replacing the edges from u to v by edges from u to the children of v. This problem has a lot of applications in the computer engineering, such as XML tree pattern query evaluation, video content-based retrieval, as well as in computational biology, and data mining. The best known algorithm for this problem needs O(|T|·|leaves(P)|) time and O(|leaves(P)|·min{DT, |leaves(T)|} + |T| + |P|) space, where leaves(T) (resp. leaves(P)) stands for the number of the leaves of T (resp. P), and DT (resp. DP) for the height of T (resp. P). In this paper, we present a new algorithm that requires O(|T|·min{DP, |leaves(P)|}) time and O(|T| + |P|) space.
Keywords :
computational complexity; pattern matching; trees (mathematics); XML tree pattern query evaluation; computational biology; computer engineering; data mining; labeled ordered trees; top-down algorithm; tree inclusion; tree matching problem; video content-based retrieval; Algorithm design and analysis; Books; Complexity theory; Data mining; Polynomials; Pragmatics; XML; Tree inclusion; algorithms; time complexity analysis; tree matching;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Cyber-Enabled Distributed Computing and Knowledge Discovery (CyberC), 2010 International Conference on
Conference_Location :
Huangshan
Print_ISBN :
978-1-4244-8434-8
Electronic_ISBN :
978-0-7695-4235-5
Type :
conf
DOI :
10.1109/CyberC.2010.60
Filename :
5617123
Link To Document :
بازگشت