I/O-efficient Hierarchical Diameter Approximation

  • Deepak Ajwani
  • Ulrich Meyer
  • David Veith
Part of the Lecture Notes in Computer Science book series (LNCS, volume 7501)

Abstract

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 [17] 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.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Aggarwal, A., Vitter, J.S.: The input/output complexity of sorting and related problems. Communications of the ACM 31(9), 1116–1127 (1988)MathSciNetCrossRefGoogle Scholar
  2. 2.
    Ajwani, D.: Traversing large graphs in realistic setting. PhD thesis, Saarland University (2008)Google Scholar
  3. 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. 4.
    Ajwani, D., Meyer, U., Osipov, V.: Improved external memory BFS implementation. In: Proc. 9th ALENEX, pp. 3–12 (2007)Google Scholar
  5. 5.
    Arge, L., Meyer, U., Toma, L.: External Memory Algorithms for Diameter and All-Pairs Shortest-Paths on Sparse Graphs. In: Díaz, J., Karhumäki, J., Lepistö, A., Sannella, D. (eds.) ICALP 2004. LNCS, vol. 3142, pp. 146–157. Springer, Heidelberg (2004)CrossRefGoogle Scholar
  6. 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
  7. 7.
    Boitmanis, K., Freivalds, K., Lediņš, P., Opmanis, R.: Fast and Simple Approximation of the Diameter and Radius of a Graph. In: Àlvarez, C., Serna, M. (eds.) WEA 2006. LNCS, vol. 4007, pp. 98–108. Springer, Heidelberg (2006)CrossRefGoogle Scholar
  8. 8.
    Brandes, U., Erlebach, T. (eds.): Network Analysis. LNCS, vol. 3418. Springer, Heidelberg (2005)MATHGoogle Scholar
  9. 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
  10. 10.
    Corneil, D.G., Dragan, F.F., Habib, M., Paul, C.: Diameter determination on restricted graph families. Discrete Applied Mathematics 113(2-3), 143–166 (2001)MathSciNetMATHCrossRefGoogle Scholar
  11. 11.
    Crescenzi, P., Grossi, R., Imbrenda, C., Lanzi, L., Marino, A.: Finding the Diameter in Real-World Graphs. In: de Berg, M., Meyer, U. (eds.) ESA 2010. LNCS, vol. 6346, pp. 302–313. Springer, Heidelberg (2010)CrossRefGoogle Scholar
  12. 12.
    Crescenzi, P., Grossi, R., Lanzi, L., Marino, A.: On Computing the Diameter of Real-World Directed (Weighted) Graphs. In: Klasing, R. (ed.) SEA 2012. LNCS, vol. 7276, pp. 99–110. Springer, Heidelberg (2012)CrossRefGoogle Scholar
  13. 13.
    Dementiev, R., Sanders, P.: Asynchronous parallel disk sorting. In: Proc. 15th SPAA, pp. 138–148. ACM (2003)Google Scholar
  14. 14.
    Goodrich, M.T., Pszona, P.: External-Memory Network Analysis Algorithms for Naturally Sparse Graphs. In: Demetrescu, C., Halldórsson, M.M. (eds.) ESA 2011. LNCS, vol. 6942, pp. 664–676. Springer, Heidelberg (2011)CrossRefGoogle Scholar
  15. 15.
    Magnien, C., Latapy, M., Habib, M.: Fast computation of empirically tight bounds for the diameter of massive graphs. Journal of Experimental Algorithmics 13, 1.10–1.9 (2009)CrossRefGoogle Scholar
  16. 16.
    Mehlhorn, K., Meyer, U.: External-Memory Breadth-First Search with Sublinear I/O. In: Möhring, R.H., Raman, R. (eds.) ESA 2002. LNCS, vol. 2461, pp. 723–735. Springer, Heidelberg (2002)CrossRefGoogle Scholar
  17. 17.
    Meyer, U.: On Trade-Offs in External-Memory Diameter-Approximation. In: Gudmundsson, J. (ed.) SWAT 2008. LNCS, vol. 5124, pp. 426–436. Springer, Heidelberg (2008)CrossRefGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2012

Authors and Affiliations

  • Deepak Ajwani
    • 1
  • Ulrich Meyer
    • 2
  • David Veith
    • 2
  1. 1.Centre for Unified ComputingUniversity College CorkCorkIreland
  2. 2.Institut für InformatikGoethe-Universität FrankfurtFrankfurt am MainGermany

Personalised recommendations