Efficient Semi-External SCC Computation
- 28 December 2021
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Knowledge and Data Engineering
- Vol. 35 (4) , 3794-3807
Abstract
In literature, many algorithms are proposed to find strongly connected components (SCC) for directed graphs. Specifically, a SCC of a directed graph G is one of its maximal subgraphs, in which any two nodes are reachable to each other. Existing in-memory algorithms are efficient, and can find all the SCCs of G in a linear time, with respect to the size of G. Nevertheless, as the sizes of graphs grow rapidly in real applications, current efforts have been focused on semi-external algorithms. Existing semi-external algorithms maintain an in-memory sketch of G, and gradually restructure A with their in-memory processes (IMP) until all the SCCs can be computed based on A. However, the I/O and CPU costs of existing algorithms are still high when G is relatively large. Thus, this paper proposes a new semi-external algorithm EP-SCC with a novel IMP EP-Reduction for finding all the SCCs of G efficiently. Extensive experiments are conducted on both synthetic and real graphs, in which WDC-2014 contains 1.7 billion nodes, and eu-2015 has over 91 billion edges. Experimental results confirm that EP-SCC significantly outperforms existing semi-external SCC algorithms.Keywords
Funding Information
- National Natural Science Foundation of China (U1866602, 71773025)
- National Key Research and Development Program of China (2020YFB1006104)
This publication has 18 references indexed in Scilit:
- Divide & Conquer2015
- I/O efficient: computing SCCs in massive graphsThe VLDB Journal, 2014
- Computing Strongly Connected Components in the Streaming Model2011
- A Survey on Streaming Algorithms for Massive Graphs2010
- Trading off space for passes in graph streaming problemsACM Transactions on Algorithms, 2009
- A Survey of Graph Algorithms Under Extended Streaming Models of Computation2009
- A Heuristic Strong Connectivity Algorithm for Large GraphsLecture Notes in Computer Science, 2009
- External-memory depth-first search algorithm for solid grid graphsInformation Processing Letters, 2005
- External memory algorithms and data structuresACM Computing Surveys, 2001
- Depth-First Search and Linear Graph AlgorithmsSIAM Journal on Computing, 1972