scispace - formally typeset
Open AccessJournal ArticleDOI

Cache-Oblivious Data Structures and Algorithms for Undirected Breadth-First Search and Shortest Paths

Reads0
Chats0
TLDR
The cache-oblivious SSSP-algorithm takes nearly full advantage of block transfers for dense graphs, and the number of I/Os for sparse graphs is reduced by a factor of nearly sqrt{B}, where B is the cache-block size.
Abstract
We present improved cache-oblivious data structures and algorithms for breadth-first search (BFS) on undirected graphs and the single-source shortest path (SSSP) problem on undirected graphs with non-negative edge weights. For the SSSP problem, our result closes the performance gap between the currently best cache-aware algorithm and the cache-oblivious counterpart. Our cache-oblivious SSSP-algorithm takes nearly full advantage of block transfers for dense graphs. The algorithm relies on a new data structure, called bucket heap , which is the first cache-oblivious priority queue to efficiently support a weak D ECREASE K EY operation. For the BFS problem, we reduce the number of I/Os for sparse graphs by a factor of nearly sqrt{B}, where B is the cache-block size, nearly closing the performance gap between the currently best cache-aware and cache-oblivious algorithms.

read more

Content maybe subject to copyright    Report

Citations
More filters

Cache-oblivious data structures and algorithms for undirected breadth-first search and shortest paths

TL;DR: This work presents improved cache-oblivious data structures and algorithms for breadth-first search and the single-source shortest path problem on undirected graphs with non-negative edge weights and removes the performance gap between the currently best cache-aware algorithms for these problems.
Journal ArticleDOI

An Optimal Cache-Oblivious Priority Queue and Its Application to Graph Algorithms

TL;DR: An optimal cache-oblivious priority queue data structure, supporting insertion, deletion, and delete-min operations in amortized memory transfers, is developed, as efficient as several previously developed external memory (cache-aware)priority queue data structures.
Journal ArticleDOI

Thin heaps, thick heaps

TL;DR: Three heap implementations are described (two versions of thin heaps and one of thick heaps) that have the same amortized efficiency as Fibonacci heaps, but need less space and promise better practical performance.
Proceedings ArticleDOI

External-memory exact and approximate all-pairs shortest-paths in undirected graphs

TL;DR: Several new external-memory algorithms for finding all-pairs shortest paths in a V-node and diameter in unweighted undirected graphs are presented and the first nontrivial results for approximate APSP are provided.
Dissertation

Algorithms and data structures for cache-efficient computation: theory and experimental evaluation

TL;DR: A general cache-oblivious framework for cache-efficient sequential and parallel solution of any problem in GEP, and experimental results suggest that the GEP framework offers an attractive trade-off between efficiency and portability.
Related Papers (5)