New Data Structures for Orthogonal Range Queries

From MaRDI portal





Let S be a set of N records, each corresponding to a point in k- dimensional space. The author considers a request q for the subset of S satisfying the condition: \[ a_ 1<KEY.1<b_ 1 \& a_ 2<KEY.2<b_ 2 \&...\& a_ k<KEY.k<b_ k. \] Such q's are called orthogonal range queries (ORQ). Various data structures have been proposed for supporting ORQ's. They include e.g. k-d trees, quad trees, and box array hashing. Each of these structures occupies space O(N log\({}^{k-1}N)\) and worst- case locate time \(O(\log^ kN)\). The author uses the term first- generation k-fold trees to refer to these structures. In this paper, so called second-generation k-fold trees are introduced. The new data structure needs memory O(N log\({}^{k-1}N)\) and has a worst-case locate complexity \(O(\log^{k-1}N)\). Note that most of the discussion in this paper is made for \(k=2\). E.g., a 2-fold tree consists of three parts: a logarithm height base-tree B sorted by KEY.2, auxiliary fields sorted by KEY.1 organized as a double-linked ordered list with downpointers, and a dictionary D consisting of a binary tree of height O(log N) that indexes entries in the root's auxiliary field by KEY.1. Six modifications of the structure are designed for ORQ's with aggregate-retrievals (SUM, COUNT) and insertion/deletions algorithms. Various complexities of all types of k-fold trees are presented.




Cited in
(68)








This page was built for publication: New Data Structures for Orthogonal Range Queries

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3678701)