Universe sizes and a contiguous van Emde Boas layout #
At depth d the universe has size 2 ^ (2 ^ d). A node has a five-word header, with
presence, minimum, maximum, split size and child span at offsets 0 through 4. At positive
depth, the header is followed by one recursive summary and then one recursive cluster for
each element of the smaller universe. All recursive records are allocated, including empty ones.
This is address arithmetic for the modern minimum-excluded variant described in [Dem15], pp. 4–5. The five-word header and contiguous allocation are choices of this formalization. The original priority-queue construction is due to van Emde Boas, Kaas and Zijlstra [vEBKZ77]; we do not identify these layout choices with that paper's construction. No memory representation or RAM running-time theorem is established here.
Main definitions #
universeSize: the recursively squared universe size.span: the number of words in the fully allocated recursive record.summaryOffset,clusterOffset: the starts of the recursive records relative to their parent.
Main results #
universeSize_eq_two_pow: the closed form2 ^ (2 ^ d).universeSize_mono,span_mono: monotonicity ofuniverseSizeandspanin the depth.span_le: the explicit linear boundspan d ≤ 10 * universeSize d.summary_word_lt_span,cluster_word_lt_span: all recursive words lie within their parent.summary_end_le_clusterOffset,cluster_end_le_clusterOffset: recursive records do not overlap.
References #
Size of the depth-d universe; each step squares the previous size.
Instances For
Depth counts repeated square roots of the universe size, down to the two-element base.
Number of words in a fully allocated record, including the five-word header.
Instances For
A strengthened linear bound that leaves enough slack for the recursive header.
The fully allocated record occupies at most ten words per universe element.
Relative start of the summary, immediately after the five-word header.
Instances For
Relative start of cluster i in a depth-d + 1 record. The summary occupies slot zero.
Instances For
The entire header precedes every summary word.
Every word of each valid cluster is inside the parent record.
The summary ends before every cluster starts.
Every summary word precedes every cluster word.
Ordered clusters occupy nonoverlapping half-open intervals.
Monotonicity of universeSize in the recursion depth.