O'Reach: Even faster reachability in large graphs

Kathrin Hanauer, Christian Schulz, Jonathan Trummer

Publications: Contribution to bookContribution to proceedingsPeer Reviewed

Abstract

One of the most fundamental problems in computer science is the reachability problem: Given a directed graph and two vertices s and t, can s reach t via a path? We revisit existing techniques and combine them with new approaches to support a large portion of reachability queries in constant time using a linear-sized reachability index. Our new algorithm O'Reach can be easily combined with previously developed solutions for the problem or run standalone. In a detailed experimental study, we compare a variety of algorithms with respect to their index-building and query times as well as their memory footprint on a diverse set of instances. Our experiments indicate that the query performance often depends strongly not only on the type of graph, but also on the result, i.e., reachable or unreachable. Furthermore, we show that previous algorithms are significantly sped up when combined with our new approach in almost all scenarios. Surprisingly, due to cache effects, a higher investment in space doesn't necessarily pay off: Reachability queries can often be answered even faster than single memory accesses in a precomputed full reachability matrix.

Original languageEnglish
Title of host publication19th International Symposium on Experimental Algorithms, SEA 2021
EditorsDavid Coudert, Emanuele Natale
Place of PublicationDagstuhl
PublisherSchloss Dagstuhl - Leibniz-Zentrum fuer Informatik GmbH
Pages13:1--13:24
ISBN (Electronic)9783959771856
DOIs
Publication statusPublished - 1 Jun 2021
Event19th Symposium on Experimental Algorithms (SEA 2021) - Online, Unknown
Duration: 7 Jun 20219 Jun 2021
https://sea2021.i3s.unice.fr/

Publication series

SeriesLeibniz International Proceedings in Informatics (LIPIcs)
Volume190
ISSN1868-8969

Conference

Conference19th Symposium on Experimental Algorithms (SEA 2021)
Country/TerritoryUnknown
Period7/06/219/06/21
Internet address

Austrian Fields of Science 2012

  • 102031 Theoretical computer science

Keywords

  • Algorithm engineering
  • Graph algorithms
  • Reachability
  • Reachability index
  • Static graphs

Fingerprint

Dive into the research topics of 'O'Reach: Even faster reachability in large graphs'. Together they form a unique fingerprint.

Cite this