Skip to content

Worst-Case Optimal Tree Layout in External Memory

Erik D. Demaine, John Iacono, Stefan Langerman

cs.DSarXiv:cs/0410048

Abstract

Consider laying out a fixed-topology tree of N nodes into external memory with block size B so as to minimize the worst-case number of block memory transfers required to traverse a path from the root to a node of depth D. We prove that the optimal number of memory transfers is Θ( D (1+B) ) & when D = O( N), Θ( N (1+B N D) ) & when D = Ω( N) and D = O(B N), Θ( D B ) & when D = Ω(B N).

Create a lesson