Abstract
We present the Buffer Heap (BH), a cache-oblivious priority queue that supports Delete-Min, Delete, and Decrease-Key operations in O(1/B log 2N/B) amortized block transfers from external memory, where B is the (unknown) block-size and N is the maximum number of elements in the queue. As is common in cache-oblivious algorithms, we assume a 'tall cache' (i.e., M = Ω(B1+∈), where M is the size of the main memory). We also assume the Decrease-Key operation only verifies that the element does not exist in the priority queue with a smaller key value, hence it also supports the insert operation in the same amortized bound. The amortized time bound for each operation is O(log N). We also present a Cache-Oblivious Tournament Tree (COTT), which is simpler than the Buffer Heap, but has weaker bounds. Using the Buffer Heap we present cache-oblivious algorithms for undirected and directed single-source shortest path (SSSP) problems for graphs with non-negative edge-weights. On a graph with V vertices and E edges, our algorithm for the undirected case performs O(V + E/B log2 V/B) block transfers and for the directed case performs O((V + E/B) · log2 V/B) block transfers. The running time of both algorithms is O((V + E) · log V). For both priority queues with Decrease-Key operation, and for shortest path problems on general graphs, our results, appear to give the first non-trivial cache-oblivious bounds.
| Original language | English |
|---|---|
| Pages | 245-254 |
| Number of pages | 10 |
| DOIs | |
| State | Published - 2004 |
| Event | SPAA 2004 - Sixteenth Annual ACM Symposium on Parallelism in Algorithms and Architectures - Barcelona, Spain Duration: Jun 27 2004 → Jun 30 2004 |
Conference
| Conference | SPAA 2004 - Sixteenth Annual ACM Symposium on Parallelism in Algorithms and Architectures |
|---|---|
| Country/Territory | Spain |
| City | Barcelona |
| Period | 06/27/04 → 06/30/04 |
Keywords
- Buffer heap
- Cache-aware model
- Cache-oblivious model
- Decrease-key
- Priority queue
- Shortest paths
- Tournament tree
Fingerprint
Dive into the research topics of 'Cache-oblivious shortest paths in graphs using Buffer Heap'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver