Translating a regular grid over a point set

被引:5
作者
Bose, P
van Kreveld, M
Maheshwari, A
Morin, P
Morrison, J
机构
[1] Carleton Univ, Sch Comp Sci, Ottawa, ON K1S 5B6, Canada
[2] Univ Utrecht, Dept Comp Sci, NL-3508 TB Utrecht, Netherlands
来源
COMPUTATIONAL GEOMETRY-THEORY AND APPLICATIONS | 2003年 / 25卷 / 1-2期
基金
加拿大自然科学与工程研究理事会;
关键词
dynamic data structure; binary tree; intervals; lazy update; facility location; maintenance of functions;
D O I
10.1016/S0925-7721(02)00128-1
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
We consider the problem of translating a (finite or infinite) square grid G over a set S of n points in the plane in order to maximize some objective function. We say that a grid cell is k-occupied if it contains k or more points of S. The main set of problems we study have to do with translating an infinite grid so that the number of k-occupied cells is maximized or minimized. For these problems we obtain running times of the form O(kn polylog (n)). We also consider the problem of translating a finite size grid, with m cells, in order to maximize the number of k-occupied cells. Here we obtain a running time of the form O(knm polylog (nm)). In solving these problems, we design a data structure T that maintains in O(log n) time per operation, a function f : R --> R under the following query and update operations where [a, b) is a continuous interval in R: 1. INSERT(T, a, b, delta): Increase the value of f (x) by delta for all x is an element of [a, b). 2. DELETE(T, a, b, delta): Decrease the value of f (x) by delta for all x is an element of [a, b). 3. MAX-COVER(): Return max{f (x): x is an element of R}. 4. MAX-COVER-WITNESS(): Return a value x* such that f (x*) = max{f (x): x is an element of R}. 5. MAX-IN(a, b): Returns max{f (x): x is an element of [a, b)}. 6. MAX-WITNESS-IN(a, b): Returns a value x* such that f (x*) = max{f (x): x is an element of [a, b)}. as well as the min counter-parts of these queries. (C) 2002 Published by Elsevier Science B.V.
引用
收藏
页码:21 / 34
页数:14
相关论文
共 11 条
[1]  
Agarwal PK, 2000, LECT NOTES COMPUT SC, V1741, P403
[2]  
[Anonymous], ADV COMPUTING RES
[3]  
[Anonymous], 1977, SOLUTIONS KLEES RECT
[4]   ALGORITHMS FOR PROJECTING POINTS TO GIVE THE MOST UNIFORM-DISTRIBUTION WITH APPLICATIONS TO HASHING [J].
ASANO, T ;
TOKUYAMA, T .
ALGORITHMICA, 1993, 9 (06) :572-590
[5]  
BENTLEY JL, 1979, IEEE T COMPUT, V28, P643, DOI 10.1109/TC.1979.1675432
[6]   GEOMETRIC PROBLEMS WITH APPLICATION TO HASHING [J].
COMER, D ;
ODONNELL, MJ .
SIAM JOURNAL ON COMPUTING, 1982, 11 (02) :217-226
[7]  
Cormen T. H., 1990, INTRO ALGORITHMS
[8]  
De Berg M., 2000, COMPUTATIONAL GEOMET, DOI DOI 10.1007/978-3-662-03427-9
[9]   MAKING DATA-STRUCTURES PERSISTENT [J].
DRISCOLL, JR ;
SARNAK, N ;
SLEATOR, DD ;
TARJAN, RE .
JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1989, 38 (01) :86-124
[10]   FINDING THE UPPER ENVELOPE OF N LINE SEGMENTS IN O(N LOG N) TIME [J].
HERSHBERGER, J .
INFORMATION PROCESSING LETTERS, 1989, 33 (04) :169-174