| | |
Summary: An Optimal Dynamic Interval StabbingMax Data Structure? #
Pankaj K. Agarwal + Lars Arge # Ke Yi §
Abstract
In this paper we consider the dynamic stabbingmax prob
lem, that is, the problem of dynamically maintaining a set
S of n axisparallel hyperrectangles in R d , where each rect
angle s # S has a weight w(s) # R, so that the rectangle
with the maximum weight containing a query point can be
determined e#ciently. We develop a linearsize structure
for the onedimensional version of the problem, the interval
stabbingmax problem, that answers queries in worstcase
O(log n) time and supports updates in amortized O(log n)
time. Our structure works in the pointermachine model of
computation and utilizes many ingredients from recently de
veloped external memory structures. Using standard tech
niques, our onedimensional structure can be extended to
higher dimensions, while paying a logarithmic factor in
space, update time, and query time per dimension. Fur
thermore, our structure can easily be adapted to external
memory, where we obtain a linearsize structure that answers
|