http://scholars.ntou.edu.tw/handle/123456789/16169
Title: | An optimal algorithm for querying tree structures and its applications in bioinformatics |
Authors: | Hsiao-Fei Liu Ya-Hui Chang Kun-Mao Chao |
Issue Date: | Jun-2004 |
Publisher: | Association for Computing Machinery |
Journal Volume: | 33 |
Journal Issue: | 2 |
Start page/Pages: | 21-26 |
Source: | ACM SIGMOD Record |
Abstract: | Trees and graphs are widely used to model biological databases. Providing efficient algorithms to support tree-based or graph-based querying is therefore an important issue. In this paper, we propose an optimal algorithm which can answer the following question: "Where do the root-to-leaf paths of a rooted labeled tree Q occur in another rooted labeled tree T?" in time O(m + Occ), where m is the size of Q and Occ is the output size. We also show the problem of querying a general graph is NP-complete and not approximable within nk for any k < 1, where n is the number of nodes in the queried graph, unless P = NP. |
URI: | http://scholars.ntou.edu.tw/handle/123456789/16169 |
ISSN: | 0163-5808 |
DOI: | 10.1145/1024694.1024698 |
Appears in Collections: | 資訊工程學系 |
Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.