ACM Home Page
Please provide us with feedback. Feedback
Digital Library logoTake a look at the new version of this page: [ beta version ]. Tell us what you think.
An optimal graph traversal algorithm for evaluating linear binary-chain programs
Full text PdfPdf (947 KB)
Source Conference on Information and Knowledge Management archive
Proceedings of the third international conference on Information and knowledge management table of contents
Gaithersburg, Maryland, United States
Pages: 34 - 41  
Year of Publication: 1994
ISBN:0-89791-674-3
Authors
Yangjun Chen  Department of Computer Science, University of Kaiserslautern, P.O. Box 3049, 67653 Kaiserslautern, Germany
Theo Härder  Department of Computer Science, University of Kaiserslautern, P.O. Box 3049, 67653 Kaiserslautern, Germany
Sponsors
SIGIR: ACM Special Interest Group on Information Retrieval
NIST : National Institue of Standards & Technology
UMBC : U of MD Baltimore County
SIGART: ACM Special Interest Group on Artificial Intelligence
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 1,   Downloads (12 Months): 24,   Citation Count: 0
Additional Information:

abstract   references   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/191246.191257
What is a DOI?

ABSTRACT

Grahne et al. have presented a graph algorithm for a subset of recursive queries. This method consists of two phases. In the first phase, the method transforms a linear binary-chain program into a set of equations over expressions containing predicate symbols. In the second phase, a graph is constructed from the equations and the answers are produced by traversing the relevant paths. Here we describe a new algorithm which requires less time than the algorithm of Grahne et al. The key idea of the improvement is to reduce the search space that will be traversed when a query is invoked. Further, we speed up the evaluation of cyclic data by generating most answers directly in terms of the answers already found and the associated “path information” instead of traversing the corresponding paths as usual. In this way, our algorithm achieves a linear time complexity for both cyclic and non-cyclic data.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
 
2
3
4
 
5
 
6
C. Chang, On the Evaluation of Queries Containing Derived Relations in Relational Database, in: Advances in Data Base Theory, Vol. 1, Plenum, 1981.
 
7
Y. Chen, Processing of Recursive Rules in Knowledgebased Systems, Forthcoming Ph.D. thesis, University of Kaiserslautern, Germany, 1994.
 
8
Y. Chen and T. H#rder, Graph Traversal and Linear Binary-chain Programs, ZRi-Report 4/94, University of Kaiserslautern, Germany, 1994.
9
 
10
 
11
 
12
J. Hen and S. Chert, Graphic Representation of Linear Recursive Rules, Int. Journal Of Intelligent Systems, VOL. 7, 317-337 (1992)
 
13
J. Han and L.J.Henschen, The Level-Cycle Merging Method, Proc. 1st Int. Conf. on Deductive and Object-oriented Databases, Kyoto, 1989.
14
15
 
16
17
 
18
S. Shapiro and D. Mckay, Inference with Recursive Rules, in: Proc. 1st Annual National Conference on Artificial Intelligence, 1980.
 
19
R. Tarjan, Depth-first Search and Linear Graph Algorithm, SIAM J. Comput. Vol. 1. No. 2. June 1972.
 
20
 
21
L. Vieille, From QSQ to QoSaQ: Global Optimization of Recursive Queries, Proc. 2th Int. Con}. on E#.pert Database System, L.Kerschberg ed., Charleston, 1988.
 
22
C. Wu and L.J. Henschen, Answering Linear Recursive Queries in Cyclic Databases, Proc. 1988 Int. Conf. on F,fth Gen. Computer Systems, Tokyo, 1988.

Collaborative Colleagues:
Yangjun Chen: colleagues
Theo Härder: colleagues