Academia.eduAcademia.edu

Faster Streaming algorithms for graph spanners

Given an undirected graph G = (V, E) on n vertices, m edges, and an integer t ≥ 1, a subgraph (V, E S), E S ⊆ E is called a t-spanner if for any pair of vertices u, v ∈ V , the distance between them in the subgraph is at most t times the actual distance. We present streaming algorithms for computing a t-spanner of essentially optimal size-stretch trade offs for any undirected graph. Our first algorithm is for the classical streaming model and works for unweighted graphs only. The algorithm performs a single pass on the stream of edges and requires O(m) time to process the entire stream of edges. This drastically improves the previous best single pass streaming algorithm for computing a t-spanner which requires θ(mn 2 t) time to process the stream and computes spanner with size slightly larger than the optimal. Our second algorithm is for StreamSort model introduced by Aggarwal et al. [2], which is the streaming model augmented with a sorting primitive. The StreamSort model has been shown to be a more powerful and still very realistic model than the streaming model for massive data sets applications. Our algorithm, which works of weighted graphs as well, performs O(t) passes using O(log n) bits of working memory only. Our both the algorithms require elementary data structures.