Welcome!
To use the personalized features of this site, please log in or register.
If you have forgotten your username or password, we can help.
My Menu
Saved Items

External-Memory Breadth-First Search with Sublinear I/O

Kurt Mehlhorn6 and Ulrich Meyer6

(6)  Max-Planck-Institut für Informatik, Stuhlsatzenhausweg 85, 66123 Saarbrücken, Germany
Abstract
Breadth-first search (BFS) is a basic graph exploration technique. We give the first external memory algorithm for sparse undirected graphs with sublinear I/O. The best previous algorithm requires $$
\Theta \left( {n + \tfrac{{n + m}}
{{D \cdot B}} \cdot \log _{M/B} \tfrac{{n + m}}
{B}} \right)
$$ I/Os on a graph with n nodes and m edges and a machine with main-memory of size M, D parallel disks, and block size B. We present a new approach which requires only $$
\mathcal{O}(\sqrt {\tfrac{{n \cdot (n + m)}}
{{D \cdot B}} + } \tfrac{{n + m}}
{{D \cdot B}} \cdot \log _{M/B} \tfrac{{n + m}}
{B})
$$ I/Os. Hence, for $$
\Omega \sqrt {D \cdot B} 
$$ and all realistic values of $$
m = \mathcal{O}(n)
$$ , it improves upon the I/O-performance of the best previous algorithm by a factor $$
\log _{M/B} \tfrac{{n + m}}
{B})
$$ . Our approach is fairly simple and we conjecture it to be practical. We also give improved algorithms for undirected single-source shortest-paths with small integer edge weights and for semi-external BFS on directed Eulerian graphs.
Partially supported by the Future and Emerging Technologies programme of the EU under contract number IST-1999-14186 (ALCOM-FT) and the DFG grant SA 933/1-1.

Fulltext Preview (Small, Large)
Image of the first page of the fulltext

References secured to subscribers.



Export this chapter
Export this chapter as RIS | Text
 
Referenced by
1 newer article

  1. Maheshwari, Anil (2007) I/O-Efficient Algorithms for Graphs of Bounded Treewidth. Algorithmica
    [CrossRef]
Remote Address: 38.107.191.109 • Server: mpweb07
HTTP User Agent: CCBot/1.0 (+http://www.commoncrawl.org/bot.html)