×

Algorithms for projecting points to give the most uniform distribution with applications to hashing. (English) Zbl 0797.68156

Summary: The paper presents several algorithms for projecting points so as to give the most uniform distribution. Given \(n\) points in the plane and an integer \(b\), the problem is to find an optimal angle \(\theta\) of \(b\) equally spaced parallel lines such that points are distributed most uniformly over buckets (regions bounded by two consecutive lines). An algorithm is known only in the tight case in which the two extreme lines are the supporting lines of the point set. The algorithm requires \(O(bn^ 2\log n)\) time and \(O(n^ 2+b)\) space to find an optimal solution. In this paper we improve the algorithm both in time and space, based on duality transformation. Two linear-space algorithms are presented. One runs in \(O(n^ 2+K\log n+ bn)\) time, where \(K\) is the number of intersections in the transformed plane. \(K\) is shown to be \(O(n^ 2+ bn)\) based on a new counting scheme. The other algorithm is advantageous if \(b< \sqrt{n}\). It performs a simplex range search in each slab to enumerate all the lines that intersect bucket lines, and runs in \(O(b^{0.610} n^{1.695}+ K\log n)\) time. It is also shown that the problem can be solved in polynomial time even in the relaxed case. Its one-dimensional analogue is especially related to the design of an optimal hash function for a static set of keys.

MSC:

68U05 Computer graphics; computational geometry (digital and algorithmic aspects)
68Q25 Analysis of algorithms and problem complexity
Full Text: DOI

References:

[1] A. V. Aho, J. E. Hopcroft, and J. D. Ullman: Problem 2.12,The Design and Analysis of Computer Algorithms, Addison-Wesley, Reading, MA, 1974.
[2] T. Asano, L. J. Guibas, and T. Tokuyama: Walking on an Arrangement Topologically,Proc. 7th ACM Symposium on Computational Geometry, pp. 297-306, 1991. · Zbl 0820.68121
[3] J. L. Bentley and T. Ottman: Algorithms for Reporting and Counting Geometric Intersections,IEEE Trans. Comput., vol. 28, pp. 643-647, Sept. 1979. · Zbl 0414.68074 · doi:10.1109/TC.1979.1675432
[4] B. Chazelle, L. J. Guibas, and D. T. Lee: The Power of Geometric Duality,Proc. 24th Symposium on Foundations of Computer Science, pp. 217-225, 1983.
[5] D. Comer and M. J. O’Donnell: Geometric Problems with Applications to Hashing,SIAM J. Comput., vol. 11, no. 2, pp. 217-26, 1982. · Zbl 0478.68076 · doi:10.1137/0211017
[6] H. Edelsbrunner:Algorithms in Combinatorial Geometry, EATCS Monographs in Theoretical Computer Science, vol. 10, Springer-Verlag, Berlin, 1987. · Zbl 0634.52001
[7] H. Edelsbrunner and L. J. Guibas: Topologically Sweeping an Arrangement, Research Report 9, Digital Systems Research Center, 1986.
[8] H. Edelsbrunner and E. Welzl: Half Planar Range Search in Linear Space andO(n 0.695) Query Time,Inform. Process. Lett., vol. 23, pp. 289-193, 1986. · Zbl 0634.68064 · doi:10.1016/0020-0190(86)90088-8
[9] K. Mehlhorn:Data Structures and Algorithms, 1: Sorting and Searching, EATCS Monographs on Theoretical Computer Science, Springer-Verlag, Berlin, 1984. · Zbl 0556.68001
[10] F. P. Preparata and M. I. Shamos:Computational Geometry?An Introduction, second edition, Springer-Verlag, New York, 1985. · Zbl 0575.68059
This reference list is based on information provided by the publisher or from digital mathematics libraries. Its items are heuristically matched to zbMATH identifiers and may contain data conversion errors. In some cases that data have been complemented/enhanced by data from zbMATH Open. This attempts to reflect the references listed in the original paper as accurately as possible without claiming completeness or a perfect matching.