Research Article
Open Access
An Efficient Algorithm for Tree Mapping in XML Databases
Abstract
In this article, we discuss an efficient algorithm for tree mapping problem in XML databases. Given a target tree T and a pattern tree Q, the algorithm can find all the embeddings of Q in T in O(|T||Q|) time while the existing approaches need exponential time in the worst case.
Journal of Computer Science
Volume 3 No. 7, 2007, 487-493 DOI: https://doi.org/10.3844/jcssp.2007.487.493
Copyright: © 2007 Yangjun Chen. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.
- 2,873 Views
- 2,166 Downloads
- 1 Citations
Download
Keywords
- Tree mapping
- XML databases
- query evaluation
- tree encoding