Affiliation:
1. Georgetown University, NW, Washington, DC, USA
Abstract
This article presents I/O-efficient algorithms for topologically sorting a directed acyclic graph and for the more general problem identifying and topologically sorting the strongly connected components of a directed graph
G
= (
V, E
). Both algorithms are randomized and have I/O-costs
O
(
sort
(
E
) · poly(log V)), with high probability, where
sort
(
E
) = O(
E
/
B
log
M
/
B
(
E/B
)) is the I/O cost of sorting an |
E
|-element array on a machine with size-
B
blocks and size-
M
cache/internal memory. These are the first algorithms for these problems that do not incur at least one I/O per vertex, and as such these are the first I/O-efficient algorithms for sparse graphs. By applying the technique of time-forward processing, these algorithms also imply I/O-efficient algorithms for most problems on directed acyclic graphs, such as shortest paths, as well as the single-source reachability problem on arbitrary directed graphs.
Publisher
Association for Computing Machinery (ACM)
Subject
Mathematics (miscellaneous)
Cited by
2 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献