ACM Home Page
Please provide us with feedback. Feedback
Transitive closure algorithms based on graph traversal
Full text PdfPdf (4.34 MB)
Source ACM Transactions on Database Systems (TODS) archive
Volume 18 ,  Issue 3  (September 1993) table of contents
Pages: 512 - 576  
Year of Publication: 1993
ISSN:0362-5915
Authors
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 26,   Downloads (12 Months): 142,   Citation Count: 24
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues   peer to peer  

Tools and Actions: Review this Article  
Save this Article to a Binder    Display Formats: BibTex  EndNote ACM Ref   
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/155271.155273
What is a DOI?

ABSTRACT

Several graph-based algorithms have been proposed in the literature to compute the transitive closure of a directed graph. We develop two new algorithms (Basic_TC and Gobal_DFTC) and compare the performance of their implementations in a disk-based environment with a well-known graph-based algorithm proposed by Schmitz. Our algorithms use depth-first search to traverse a graph and a technique called marking to avoid processing some of the arcs in the graph. They compute the closure by processing nodes in reverse topological order, building descendent sets by adding the descendent sets of children. While the details of these algorithms differ considerably, one important difference among them is the time at which descendent set additions are performed. Basic_TC, results in superior performance. The first reason is that early additions result in larger descendent set sizes on the average over the duration of the execution, thereby causing more I/O; very often this turns out to more than offset the gains of not having to fetch certain sets again to add them. The second reason is that information collected in the first pass can be used to apply several optimizations in the second pass. To the extent possible, we also adapt these algorithms to perform path computations. Again, our performance comparison confirms the trends seen in reachability queries. Taken in conjunction with another performance study our results indicate that all graph-based algorithms significantly outperform other types of algorithms such as Seminaive and Warren.


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
CARRE, B. Graphs and Networks. Clarendon Press, Oxford, England, 1979.
 
7
 
8
DAR, S. Ph.D. thesis, Univ. of Wisconsin-Madison, Aug. 1993.
 
9
DIJKSTRA, E.W. A note on two problems in connection with graphs. Numer. Math. 1 (1959), 269-271.
 
10
EBERT, J. A sensitive transitive closure algorithm. Inf. Process. Lett. 12, 5 (1981).
 
11
EVE, J., AND KURKI-SUONIO, R. On computing the transitive closure of a relation. Acta Inf. (1977), 303-314.
 
12
 
13
 
14
 
15
 
16
 
17
 
18
 
19
 
20
PURDOM, P. A transitive closure algorithm. BIT, 10 (1970), 76 94.
21
 
22
 
23
24
 
25
SCHMITZ, L. An improved transitive closure algorithm. Computing 30 (1983), 359 371.
 
26
TARJAN, R.E. Depth-first search and linear graph algorithms. SIAM J. Comput. 1, 2 (1972), 146 160.
 
27
VALDURmZ, P., AND BORAL, H. Evaluation ofrecursive queries using join indices. In Proceedings of the 1st International Expert Database Systems Conference (Charleston, S. C., April 1986), 197-208.
28
29

CITED BY  24
 
 
 
 
 
 
 
 
 
 
 
 
 

Collaborative Colleagues:
Yannis Ioannidis: colleagues
Raghu Ramakrishnan: colleagues
Linda Winger: colleagues

Peer to Peer - Readers of this Article have also read: