870 research outputs found

    Improved Approximation Bounds for Minimum Weight Cycle in the CONGEST Model

    Full text link
    Minimum Weight Cycle (MWC) is the problem of finding a simple cycle of minimum weight in a graph G=(V,E)G=(V,E). This is a fundamental graph problem with classical sequential algorithms that run in O~(n3)\tilde{O}(n^3) and O~(mn)\tilde{O}(mn) time where n=Vn=|V| and m=Em=|E|. In recent years this problem has received significant attention in the context of hardness through fine grained sequential complexity as well as in design of faster sequential approximation algorithms. For computing minimum weight cycle in the distributed CONGEST model, near-linear in nn lower and upper bounds on round complexity are known for directed graphs (weighted and unweighted), and for undirected weighted graphs; these lower bounds also apply to any (2ϵ)(2-\epsilon)-approximation algorithm. This paper focuses on round complexity bounds for approximating MWC in the CONGEST model: For coarse approximations we show that for any constant α>1\alpha >1, computing an α\alpha-approximation of MWC requires Ω(nlogn)\Omega (\frac{\sqrt n}{\log n}) rounds on weighted undirected graphs and on directed graphs, even if unweighted. We complement these lower bounds with sublinear O~(n2/3+D)\tilde{O}(n^{2/3}+D)-round algorithms for approximating MWC close to a factor of 2 in these classes of graphs. A key ingredient of our approximation algorithms is an efficient algorithm for computing (1+ϵ)(1+\epsilon)-approximate shortest paths from kk sources in directed and weighted graphs, which may be of independent interest for other CONGEST problems. We present an algorithm that runs in O~(nk+D)\tilde{O}(\sqrt{nk} + D) rounds if kn1/3k \ge n^{1/3} and O~(nk+k2/5n2/5+o(1)D2/5+D)\tilde{O}(\sqrt{nk} + k^{2/5}n^{2/5+o(1)}D^{2/5} + D) rounds if k<n1/3k<n^{1/3}, and this round complexity smoothly interpolates between the best known upper bounds for approximate (or exact) SSSP when k=1k=1 and APSP when k=nk=n

    Theoretically Efficient Parallel Graph Algorithms Can Be Fast and Scalable

    Full text link
    There has been significant recent interest in parallel graph processing due to the need to quickly analyze the large graphs available today. Many graph codes have been designed for distributed memory or external memory. However, today even the largest publicly-available real-world graph (the Hyperlink Web graph with over 3.5 billion vertices and 128 billion edges) can fit in the memory of a single commodity multicore server. Nevertheless, most experimental work in the literature report results on much smaller graphs, and the ones for the Hyperlink graph use distributed or external memory. Therefore, it is natural to ask whether we can efficiently solve a broad class of graph problems on this graph in memory. This paper shows that theoretically-efficient parallel graph algorithms can scale to the largest publicly-available graphs using a single machine with a terabyte of RAM, processing them in minutes. We give implementations of theoretically-efficient parallel algorithms for 20 important graph problems. We also present the optimizations and techniques that we used in our implementations, which were crucial in enabling us to process these large graphs quickly. We show that the running times of our implementations outperform existing state-of-the-art implementations on the largest real-world graphs. For many of the problems that we consider, this is the first time they have been solved on graphs at this scale. We have made the implementations developed in this work publicly-available as the Graph-Based Benchmark Suite (GBBS).Comment: This is the full version of the paper appearing in the ACM Symposium on Parallelism in Algorithms and Architectures (SPAA), 201

    Space-Efficient Routing Tables for Almost All Networks and the Incompressibility Method

    Get PDF
    We use the incompressibility method based on Kolmogorov complexity to determine the total number of bits of routing information for almost all network topologies. In most models for routing, for almost all labeled graphs Θ(n2)\Theta (n^2) bits are necessary and sufficient for shortest path routing. By `almost all graphs' we mean the Kolmogorov random graphs which constitute a fraction of 11/nc1-1/n^c of all graphs on nn nodes, where c>0c > 0 is an arbitrary fixed constant. There is a model for which the average case lower bound rises to Ω(n2logn)\Omega(n^2 \log n) and another model where the average case upper bound drops to O(nlog2n)O(n \log^2 n). This clearly exposes the sensitivity of such bounds to the model under consideration. If paths have to be short, but need not be shortest (if the stretch factor may be larger than 1), then much less space is needed on average, even in the more demanding models. Full-information routing requires Θ(n3)\Theta (n^3) bits on average. For worst-case static networks we prove a Ω(n2logn)\Omega(n^2 \log n) lower bound for shortest path routing and all stretch factors <2<2 in some networks where free relabeling is not allowed.Comment: 19 pages, Latex, 1 table, 1 figure; SIAM J. Comput., To appea
    corecore