Computing Strongly Connected Components in the Streaming Model
Computing Strongly Connected Components in the Streaming Model
复制标题
计算流模型中的强连接组件
DOI:
10.1007/978-3-642-19754-3_20
复制
发表时间:
2011
期刊:
影响因子:
--
通讯作者:
Federico Santaroni
中科院分区:
文献类型:
--
作者:
L. Laura;Federico Santaroni
In this paper we present the first algorithm to compute the Strongly Connected Components of a graph in the datastream model (W-Stream), where the graph is represented by a stream of edges and we are allowed to produce intermediate output streams. The algorithm is simple, effective, and can be implemented with few lines of code: it looks at each edge in the stream, and selects the appropriate action with respect to a tree T, representing the graph connectivity seen so far.
We analyze the theoretical properties of the algorithm: correctness, memory occupation (O(n log n)), per item processing time (bounded by the current height of T), and number of passes (bounded by the maximal height of T). We conclude by presenting a brief experimental evaluation of the algorithm against massive synthetic and real graphs that confirms its effectiveness: with graphs with up to 100M nodes and 4G edges, only few passes are needed, and millions of edges per second are processed.