I/O-efficient Hierarchical Diameter Approximation
Computing diameters of huge graphs is a key challenge in complex network analysis. As long as the graphs fit into main memory, diameters can be efficiently approximated (and frequently even exactly determined) using heuristics that apply a limited number of BFS traversals. If the input graphs have to be kept and processed on external storage, even a single BFS run may cause an unacceptable amount of time-consuming I/O-operations.
Meyer  proposed the first parameterized diameter approximation algorithm with fewer I/Os than that required for exact BFS traversal. In this paper we derive hierarchical extensions of this randomized approach and experimentally compare their trade-offs between actually achieved running times and approximation ratios. We show that the hierarchical approach is frequently capable of producing surprisingly good diameter approximations in shorter time than BFS. We also provide theoretical and practical insights into worst-case input classes.
KeywordsMain Memory Approximation Ratio Input Graph External Memory Graph Class
Unable to display preview. Download preview PDF.
- 2.Ajwani, D.: Traversing large graphs in realistic setting. PhD thesis, Saarland University (2008)Google Scholar
- 3.Ajwani, D., Beckmann, A., Meyer, U., Veith, D.: I/O-efficient approximation of graph diameters by parallel cluster growing – A first experimental study. In: 10th Workshop on Parallel Systems and Algorithms, PASA (2012)Google Scholar
- 4.Ajwani, D., Meyer, U., Osipov, V.: Improved external memory BFS implementation. In: Proc. 9th ALENEX, pp. 3–12 (2007)Google Scholar
- 6.Bader, D.A., Madduri, K.: Snap, small-world network analysis and partitioning: An open-source parallel graph framework for the exploration of large-scale networks. In: Proc. 22nd IPDPS, pp. 1–12. IEEE (2008)Google Scholar
- 9.Chowdury, R., Ramachandran, V.: External-memory exact and approximate all-pairs shortest-paths in undirected graphs. In: Proc. 16th SODA, pp. 735–744. ACM-SIAM (2005)Google Scholar
- 13.Dementiev, R., Sanders, P.: Asynchronous parallel disk sorting. In: Proc. 15th SPAA, pp. 138–148. ACM (2003)Google Scholar