Aarhus University Seal

An experimental study of external memory algorithms for connected components

Research output: Contribution to book/anthology/report/proceedingArticle in proceedingsResearchpeer-review

  • Gerth Stølting Brodal
  • Rolf Fagerberg, University of Southern Denmark
  • ,
  • David Hammer, University of Southern Denmark, Goethe University Frankfurt
  • ,
  • Ulrich Meyer, Goethe University Frankfurt
  • ,
  • Manuel Penschuck, Goethe University Frankfurt
  • ,
  • Hung Tran, Goethe University Frankfurt

We empirically investigate algorithms for solving Connected Components in the external memory model. In particular, we study whether the randomized O(Sort(E)) algorithm by Karger, Klein, and Tarjan can be implemented to compete with practically promising and simpler algorithms having only slightly worse theoretical cost, namely Borůvka's algorithm and the algorithm by Sibeyn and collaborators. For all algorithms, we develop and test a number of tuning options. Our experiments are executed on a large set of different graph classes including random graphs, grids, geometric graphs, and hyperbolic graphs. Among our findings are: The Sibeyn algorithm is a very strong contender due to its simplicity and due to an added degree of freedom in its internal workings when used in the Connected Components setting. With the right tunings, the Karger-Klein-Tarjan algorithm can be implemented to be competitive in many cases. Higher graph density seems to benefit Karger-Klein-Tarjan relative to Sibeyn. Borůvka's algorithm is not competitive with the two others.

Original languageEnglish
Title of host publication19th International Symposium on Experimental Algorithms, SEA 2021
EditorsDavid Coudert, Emanuele Natale
PublisherSchloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
Publication yearMay 2021
Article number23
ISBN (electronic)9783959771856
Publication statusPublished - May 2021
Event19th International Symposium on Experimental Algorithms, SEA 2021 - Virtual, Nice, France
Duration: 7 Jun 20219 Jun 2021


Conference19th International Symposium on Experimental Algorithms, SEA 2021
ByVirtual, Nice
SeriesLeibniz International Proceedings in Informatics, LIPIcs

Bibliographical note

Publisher Copyright:
© Gerth Stølting Brodal, Rolf Fagerberg, David Hammer, Ulrich Meyer, Manuel Penschuck, and Hung Tran; licensed under Creative Commons License CC-BY 4.0 19th International Symposium on Experimental Algorithms (SEA 2021).

    Research areas

  • Connected components, Experimental evaluation, External memory, Graph algorithms, Randomization

See relations at Aarhus University Citationformats

ID: 225042235