2000Unpublished venueRequires access

On external memory graph traversal

Adam L. Buchsbaum, Michael H. Goldwasser, Suresh Venkatasubramanian, Jeffery Westbrook

Open publisher page 107 citations

Abstract

We describe a new external memory data structure, the buffered repository tree, and use it to provide the first non-trivial external memory algorithm for directed breadth-first search (BFS) and an improved external algorithm for directed depth-first search. We also demonstrate the equivalence of various formulations of external undirected BFS, and we use these to give the first I/O-optimal BFS algorithm for undirected trees. 1 Introduction We use the standard I/O model [1], which counts disk accesses incurred by an algorithm, using the following parameters: M is the memory size, B is the block size, and we assume that B M=2. Define sort(N) = ( N B log M=B N B ), the number of I/Os needed to sort N items, and scan(N) = dN=Be, the number of I/Os needed to transfer N contiguous items between disk and internal memory. Given a graph with V vertices and E edges, the model applies when M < V E. For undirected graphs, Kameshwar and Ranade [5] give an O(V + E V sort(V )) I/O algo...

About this research paper

What this paper is about

We describe a new external memory data structure, the buffered repository tree, and use it to provide the first non-trivial external memory algorithm for directed breadth-first search (BFS) and an improved external algorithm for directed depth-first search. We also demonstrate the equivalence of various formulations of external undirected BFS, and we use these to give the first I/O-optimal BFS algorithm for undirected trees. 1 Introduction We use the standard I/O model [1], which counts disk accesses incurred by an algorithm, using the following parameters: M is the memory size, B is the block size, and we assume that B M=2. Define sort(N) = ( N B log M=B N B ), the number of I/Os needed to sort N items, and scan(N) = dN=Be, the number of I/Os needed to transfer N contiguous items between disk and internal memory. Given a graph with V vertices and E edges, the model applies when M < V E. For undirected graphs, Kameshwar and Ranade [5] give an O(V + E V sort(V )) I/O algo...

Why it matters

OpenAlex reports 107 citations for this work. Citation counts describe recorded attention and do not establish research quality.

Key contribution

A contribution statement is not available in the OpenAlex record.

Method / approach

Method details are not available in the OpenAlex metadata.

Main findings

Findings are not separately available in the OpenAlex metadata.

Limitations

Limitations are not available in the OpenAlex metadata.

Applications

Application details are not available in the OpenAlex metadata.

Available abstract

We describe a new external memory data structure, the buffered repository tree, and use it to provide the first non-trivial external memory algorithm for directed breadth-first search (BFS) and an improved external algorithm for directed depth-first search. We also demonstrate the equivalence of various formulations of external undirected BFS, and we use these to give the first I/O-optimal BFS algorithm for undirected trees. 1 Introduction We use the standard I/O model [1], which counts disk accesses incurred by an algorithm, using the following parameters: M is the memory size, B is the block size, and we assume that B M=2. Define sort(N) = ( N B log M=B N B ), the number of I/Os needed to sort N items, and scan(N) = dN=Be, the number of I/Os needed to transfer N contiguous items between disk and internal memory. Given a graph with V vertices and E edges, the model applies when M < V E. For undirected graphs, Kameshwar and Ranade [5] give an O(V + E V sort(V )) I/O algo...

Key concepts: Graph traversal, Tree traversal, Breadth-first search, Depth-first search, Auxiliary memory, Computer science, Undirected graph, Data structure

Related papers

Back to paper searchBrowse research topicsOriginal source
On external memory graph traversal — Research Paper | ScholarLens