An optimal algorithm for the on-line closest-pair problem |
| |
Authors: | C. Schwarz M. Smid J. Snoeyink |
| |
Affiliation: | (1) Max-Planck-Institut für Informatik, D-66123 Saarbrücken, Im Stadtwald, Germany;(2) Department of Computer Science, University of British Columbia, V6T 1W5 Vancouver, BC, Canada |
| |
Abstract: | We give an algorithm that computes the closest pair in a set ofn points ink-dimensional space on-line, inO(n logn) time. The algorithm only uses algebraic functions and, therefore, is optimal. The algorithm maintains a hierarchical subdivision ofk-space into hyperrectangles, which is stored in a binary tree. Centroids are used to maintain a balanced decomposition of this tree.These authors were supported by the ESPRIT II Basic Research Actions Program, under Contract No. 3075 (project ALCOM).This author was supported in part by the National Science and Engineering Research Council of Canada. |
| |
Keywords: | Computational geometry Closest pair Point location Centroid Amortization |
本文献已被 SpringerLink 等数据库收录! |
|