We answer a basic data structuring question (e.g., raised by Dietz and raman [1991]): Can van Emde Boas trees be made persistent, without changing their asymptotic query/update time? We present a (partially) persisten...
详细信息
We answer a basic data structuring question (e.g., raised by Dietz and raman [1991]): Can van Emde Boas trees be made persistent, without changing their asymptotic query/update time? We present a (partially) persistent data structure that supports predecessor search in a set of integers in {1,...,U} under an arbitrary sequence of n insertions and deletions, with O(log log U) expected query time and expected amortized update time, and O(n) space. The query bound is optimal in U for linear-space structures and improves previous near-O((log log U)(2)) methods. The same method solves a fundamental problem from computational geometry: point location in orthogonal planar subdivisions (where edges are vertical or horizontal). We obtain the first static data structure achieving O(log log U) worst-case query time and linear space. This result is again optimal in U for linear-space structures and improves the previous O((log log U)(2)) method by de Berg et al. [1995]. The same result also holds for higher-dimensional subdivisions that are orthogonal binary space partitions, and for certain nonorthogonal planar subdivisions such as triangulations without small angles. Many geometric applications follow, including improved query times for orthogonal range reporting for dimensions >= 3 on the ram. Our key technique is an interesting new van-Emde-Boas-style recursion that alternates between two strategies, both quite simple.
Given a planar subdivision whose coordinates are integers bounded by U <= 2(w), we present a linear-space data structure that can answer point-location queries in O(min{lg n/lg lg n, root lg U/lg lg U}) time on the...
详细信息
Given a planar subdivision whose coordinates are integers bounded by U <= 2(w), we present a linear-space data structure that can answer point-location queries in O(min{lg n/lg lg n, root lg U/lg lg U}) time on the unit-cost random access machine (ram) with word size w. This is the. first result to beat the standard Theta(lg n) bound for infinite precision models. As a consequence, we obtain the first o(n lg n) (randomized) algorithms for many fundamental problems in computational geometry for arbitrary integer input on the wordram, including: constructing the convex hull of a three-dimensional (3D) point set, computing the Voronoi diagram or the Euclidean minimum spanning tree of a planar point set, triangulating a polygon with holes, and finding intersections among a set of line segments. Higher-dimensional extensions and applications are also discussed. Though computational geometry with bounded precision input has been investigated for a long time, improvements have been limited largely to problems of an orthogonal flavor. Our results surpass this long-standing limitation, answering, for example, a question of Willard (SODA'92).
暂无评论