ComputingComputer ScienceAlgorithmsData StructuresDatabasesData Structure AlgorithmsGraph AlgorithmsSearching AlgorithmsBreadth-first SearchCompressionDeductive DatabasesDepth-first SearchGraph CompressionTransitive ClosureTree Algorithms
The computation of partial transitive closures is considered as an elementary operation for implementing deductive database systems. A new algorithm supporting this operation is presented. Unlike previously published algorithms, which are based on either matrix manipulations or depth-first search strategy, the algorithm presented uses breadth-first search as its dominant traversal strategy, a graph compression method to minimize temporary results, and Tarjan's technique in a new way to deal with strongly connected components. It is shown that this algorithm is especially suitable for computing partial transitive closures in databases, for it also aims at the minimization of disk I/O. Preliminary results of a simulation confirm this suitability. In addition, considerations about the implementation are presented.< <ETX xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">></ETX>
45
Depth-First Search and Linear Graph Algorithms
Robert E. Tarjan · SIAM Journal on Computing · 1972 · 6K citations
Robert W. Floyd · Communications of the ACM · 1962 · 4K citations · Full text
Stephen Warshall · Journal of the ACM · 1962 · 1.7K citations
Universality of data retrieval languages
Alfred V. Aho, Jeffrey D. Ullman · 1979 · 634 citations · Full text
Computing, Computer Science, Algebra +14