Estimating the size of the transitive closure in linear time
Author:
- 17 December 2002
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 190-200
Abstract
Computing transitive closure and reachability information in directed graphs is a fundamental graph problem with many applications. The fastest known algorithms run in O(sm) time for computing all nodes reachable from each of 1/spl les/s/spl les/n source nodes, or, using fast matrix multiplication, in O(n/sup 2.38/) time for computing the transitive closure, where n is the number of nodes and m the number of edges in the graph. In query optimization in database applications it is often the case that only estimates on the size of the transitive closure and on the number of nodes reachable from certain nodes are needed. We present an O(m) time randomized algorithm that estimates the number of nodes reachable from every node and the size of the transitive closure. We also obtain a O/spl tilde/(m) time algorithm for estimating sizes of neighborhoods in directed graphs with nonnegative weights, avoiding the O/spl tilde/(mn) time bound of explicitly computing these neighborhoods. Our size-estimation algorithms are much faster than performing the actual computations and improve significantly over previous estimation methods.Keywords
This publication has 11 references indexed in Scilit:
- A linear-processor polylog-time algorithm for shortest paths in planar graphs2002
- Towards overcoming the transitive-closure bottleneck: Efficient parallel algorithms for planar digraphsJournal of Computer and System Sciences, 1993
- On tree-based techniques for query evaluation1992
- Mixed-approach algorithms for transitive closure (extended abstract)1991
- High-Probability Parallel Transitive-Closure AlgorithmsSIAM Journal on Computing, 1991
- Practical selectivity estimation through adaptive sampling1990
- Graph-theoretic methods in database theory1990
- Query size estimation by adaptive sampling (extended abstract)1990
- Parallel Depth-First Search in General Directed GraphsSIAM Journal on Computing, 1990
- Matrix multiplication via arithmetic progressionsJournal of Symbolic Computation, 1990