Worst-Case Optimal Tree Layout in External Memory
Consider laying out a fixed-topology binary 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 over lg(1+...
Main Authors: | , , |
---|---|
Other Authors: | , |
Format: | Article |
Language: | English |
Published: |
Springer-Verlag,
2014-04-11T19:51:16Z.
|
Subjects: | |
Online Access: | Get fulltext |
Summary: | Consider laying out a fixed-topology binary 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 over lg(1+B))] when D = O(lgN), Θ([lgN over lg(1+[BlgN over D])]) when D=Ω(lgN) and D=O(BlgN), Θ([D over B]) ,when D=Ω(BlgN). National Science Foundation (U.S.) (Grant CCF-0430849) National Science Foundation (U.S.) (Grant OISE-0334653) |
---|