Range searching is among the most fundamental problems in computational geometry. Given an n-element point set in Rd, the problem is to preprocess the points so that the total weight (or generally semigroup sum) of the points lying within a given query range η can be determined quickly. In the ε-approximate version we assume that η is bounded and we are to determine the semigroup sum of all the points contained within η and may additionally include any of the points lying within distance ε ⋅ diam(η) of η's boundary.In this paper we contrast the complexity of approximate range searching based on properties of the semigroup and range space. A semigroup (S,+) is idempotent if x + x = x for all x ∈ S, and it is integral if for all k ≥ 2, the k-fold sum x + … + x is not equal to x. Idempotence is important because points may be multiply counted, and this implies that generator subsets may overlap one another. Our recent results [Arya, Malamatos, Mount, "On the Importance of Idempotence," STOC 2006, to appear] imply that for approximate Euclidean-ball range searching, idempotence offers significant advantages. In particular, nearly matching upper and lower bounds show that the exponents in the ε-dependencies are roughly halved for idempotent semigroups.These prior results made critical use of two properties of Euclidean balls: smoothness and rotational symmetry. In this paper we consider two alternative formulations that arise from relaxing these properties. The first involves ranges with sharp corners and the second involves arbitrary smooth convex ranges. We show that, as with integrality, sharp corners have an adverse effect on the problem's complexity. We consider d-dimensional unit hypercube ranges under rigid motions. Assuming linear space, we show here that in the semigroup arithmetic model the worst-case query time assuming an arbitrary (possibly idempotent) faithful semigroup is Ω(1/εd−2√d). We further prove a tighter lower bound of Ω(1/εd−2 for the special case of integral semigroups. This nearly matches the best known upper bound of O(log n + (1/ε)d−1), which holds for arbitrary semigroups.In contrast, we show that the improvements offered by idempotence do apply to smooth convex ranges. We define a class of smooth convex ranges to have the property that at any boundary point of the range, it is possible to place a large Euclidean ball within the range that touches this point. We show that for smooth ranges and idempotent semigroups, ε-approximate range queries can be answered in O(log n + (1/ε)(d−1)/2 log (1/ε)) time using O(n/ε) space. We show that this is nearly tight by presenting a lower bound of Ω(log n + (1/ε)(d−1)/2). This bound is in the algebraic decision-tree model and holds irrespective of space.Our results show that, in contrast to exact range searching, the interplay of semigroup properties and the range space can result in dramatic differences in query times. This is born out through both upper and lower bounds.
[1]
Sunil Arya,et al.
Space-time tradeoffs for approximate spherical range counting
,
2005,
SODA '05.
[2]
Jirí Matousek,et al.
Geometric range searching
,
1994,
CSUR.
[3]
L. Lovász,et al.
Geometric Algorithms and Combinatorial Optimization
,
1981
.
[4]
Michael L. Fredman,et al.
Lower Bounds on the Complexity of Some Optimal Data Structures
,
1981,
SIAM J. Comput..
[5]
Guilherme Dias da Fonseca,et al.
Tradeoffs in Approximate Range Searching Made Simpler
,
2008,
2008 XXI Brazilian Symposium on Computer Graphics and Image Processing.
[6]
Sunil Arya,et al.
Linear-size approximate voronoi diagrams
,
2002,
SODA '02.
[7]
Jeff Erickson,et al.
Space-Time Tradeoffs for Emptiness Queries
,
2000,
SIAM J. Comput..
[8]
Bernard Chazelle,et al.
How hard is halfspace range searching?
,
1992,
SCG '92.
[9]
C. A. Rogers,et al.
The directions of the line segments and of the r -dimensional balls on the boundary of a convex body in Euclidean space
,
1970
.
[10]
I Barany.
The techhnique of M-regions and cap-coverings: a survey
,
2000
.
[11]
R. Pollack,et al.
Advances in Discrete and Computational Geometry
,
1999
.
[12]
Bernard Chazelle,et al.
Approximate range searching in higher dimension
,
2004,
CCCG.
[13]
Imre Bárány,et al.
Intrinsic volumes andf-vectors of random polytopes
,
1989
.
[14]
Pankaj K. Agarwal,et al.
Geometric Range Searching and Its Relatives
,
2007
.
[15]
Imre Bfir,et al.
Intrinsic volumes and f-vectors of random polytopes
,
1989
.
[16]
Sunil Arya,et al.
On the importance of idempotence
,
2006,
STOC '06.
[17]
B. Chazelle.
Lower bounds on the complexity of polytope range searching
,
1989
.
[18]
Guilherme D. da Fonseca.
Approximate Range Searching: The Absolute Model
,
2007,
WADS.
[19]
Jirí Matousek,et al.
Range searching with efficient hierarchical cuttings
,
1992,
SCG '92.
[20]
Imre Bárány,et al.
CONVEX-BODIES, ECONOMIC CAP COVERINGS, RANDOM POLYTOPES
,
1988
.
[21]
Sunil Arya,et al.
Space-efficient approximate Voronoi diagrams
,
2002,
STOC '02.
[22]
Bernard Chazelle,et al.
How hard is half-space range searching?
,
1993,
Discret. Comput. Geom..
[23]
Sunil Arya,et al.
Approximate range searching
,
1995,
SCG '95.
[24]
Andrew Chi-Chih Yao.
On the Complexity of Maintaining Partial Sums
,
1985,
SIAM J. Comput..