DocumentCode :
1196953
Title :
On the graph traversal and linear binary-chain programs
Author :
Chen, Yangjun
Author_Institution :
Dept. of Bus. Comput., Winnipeg Univ., Man., Canada
Volume :
15
Issue :
3
fYear :
2003
Firstpage :
573
Lastpage :
596
Abstract :
Grahne et al. have presented a graph algorithm for evaluating 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. In this paper, we describe a new algorithm which requires less time than Grahne\´s. The key idea of the improvement is to reduce the search space that will be traversed when a query is invoked. Furthermore, 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 acyclic and cyclic data.
Keywords :
computational complexity; deductive databases; query processing; deductive database; graph traversal; linear binary-chain program; linear binary-chain programs; linear time complexity; recursive queries; Artificial intelligence; Automata; Database systems; Equations; Feedback; Knowledge based systems; Query processing; Relational databases; Superluminescent diodes; Transforms;
fLanguage :
English
Journal_Title :
Knowledge and Data Engineering, IEEE Transactions on
Publisher :
ieee
ISSN :
1041-4347
Type :
jour
DOI :
10.1109/TKDE.2003.1198392
Filename :
1198392
Link To Document :
بازگشت