Abstract
The planar 2-center problem for a set S of points in the plane asks for two congruent circular disks of the minimum radius, whose union covers all points of S. In this paper, we present a simple \(O(n \log ^2 n)\) time algorithm for the planar 2-center problem, improving upon the previously known bound by a factor of \((\log \log n)^2\). We first describe an \(O(n \log ^2 n)\) time solution to a restricted 2-center problem in which the given points are in convex position (i.e., they are the vertices of a convex polygon), and then extend it to the case of arbitrarily given points. The novelty of our algorithms is their simplicity: our algorithms use only binary search and the known algorithms for computing the smallest enclosing disk of a point set, avoiding the use of relatively complicated parametric search, which is the base for most planar 2-center algorithms. Our work sheds more light on the (open) problem of developing an \(O(n \log n)\) time algorithm for the planar 2-center problem.
The work by Tan was partially supported by JSPS KAKENHI Grant Number 15K00023, and the work by Jiang was partially supported by National Natural Science Foundation of China under grant 61173034.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
The idea of defining the adjustablity of locally optimal solutions originates from the previous work on the well known watchman route problem in computational geometry [12].
References
Agarwal, P.K., Sharir, M., Welzl, E.: The discrete 2-center problem. Discret. Comput. Geom. 20, 287–305 (1998)
Chan, T.M.: More planar two-center algorithms. Comput. Geom. Theor. Appl. 13, 189–198 (1999)
Chazelle, B., Matoušek, J.: On linear-time deterministic algorithms for optimization problems in fixed dimension. J. Algorithms 21, 579–597 (1996)
Dyer, M.E.: On a multidimensional search technique and its application to the Euclidean one-center problem. SIAM J. Comput. 15, 725–738 (1986)
Eppstein, D.: Faster construction of planar two-centers. In: Proceedings of 8th ACM-SIAM Symposium on Discrete Algorithms, pp. 131–138 (1997)
Hwang, R.Z., Lee, R.C.T., Chang, R.C.: The slab dividing approach to the euclidean \(P\)-center problem. Algorithmica 9, 1–22 (1993)
Katz, M.J., Sharir, M.: An expander-based approach to geometric optimization. SIAM J. Comput. 26, 1384–1408 (1997)
Kim, S.K., Shin, C.-S.: Efficient algorithms for two-center problems for a convex polygon. In: Du, D.-Z.-Z., Eades, P., Estivill-Castro, V., Lin, X., Sharma, A. (eds.) COCOON 2000. LNCS, vol. 1858, pp. 299–309. Springer, Heidelberg (2000). doi:10.1007/3-540-44968-X_30
Megiddo, N.: Linear time algorithms for linear programming in \(R^3\) and related problems. SIAM J. Comput. 12, 759–776 (1983)
Megiddo, N., Supowit, K.: On the complexity of some common geometric location problems. SIAM J. Comput. 13, 1182–1196 (1984)
Sharir, M.: A near-linear time algorithm for the planar 2-center problem. Discret. Comput. Geom. 18, 125–134 (1997)
Tan, X.: Fast computation of shortest watchman routes in simple polygons. Inform. Process. Lett. 87, 27–33 (2001)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Appendix: Note on the Kim and Shin algorithm for covering a set of points in convex position
Appendix: Note on the Kim and Shin algorithm for covering a set of points in convex position
In this appendix, we point out a mistake that occurs in the previously announced \(O(n \log ^2 n)\) time algorithm, by Kim and Shin, for covering a set A of points in convex position [8].
We use the same notation as given in [8]. For any \(i, j \in A\), let \(r^1_{i,j}\) (\(r^2_{i,j}\)) be the radius of the smallest disk containing \(\langle i, j-1 \rangle \) (\(\langle j, i-1 \rangle \)). Then, the optimum solution \(r^{*} = \min _{i, j \in A} \max \{ r^1_{i, j}, r^2_{i, j} \}\).
Let \(r_0^{*} = \min _{j \in A} \max \{ r^1_{0, j}, r^2_{0, j} \}\), and let k be the point such that \(r_0^{*} = \max \{ r^1_{0, k}, r^2_{0, k} \}\). Then, it was stated in Lemma 7 of [8] that “For any i, j such that \(i, j \in \langle 0, k-1 \rangle \) or \(i, j \in \langle k, n-1 \rangle \), \(\max \{ r^1_{i,j}, r^2_{i,j} \} > r^{*}_0\)”.
By Lemma 7 of [8], all the pairs of \(i, j \in \langle 0, k-1 \rangle \) or \(i, j \in \langle k, n-1 \rangle \) needn’t be considered. Kim and Shin then described a divide-and-conquer procedure to compute all the pairs of i and j such that \(i \in \langle 0, k-1 \rangle \) and \(j \in \langle k, n-1 \rangle \), in the paragraph immediately following Lemma 7 of [8]. Note that the number of the pairs of i and j, which are found by their divide-and-conquer procedure, is O(n) (other than \(O(\log n)\)). To compute \(r^{*}\), these O(n) pairs of i and j have further to be handled (e.g., using parametric search to compute the smallest enclosing disks for them). However, it is NOT considered in [8]. Therefore, the \(O(n \log ^2 n)\) time solution to the planar 2-center problem for a set of points in convex position was not obtained in [8].
Rights and permissions
Copyright information
© 2017 Springer International Publishing AG
About this paper
Cite this paper
Tan, X., Jiang, B. (2017). Simple \(O(n~log^{2}~n)\) Algorithms for the Planar 2-Center Problem. In: Cao, Y., Chen, J. (eds) Computing and Combinatorics. COCOON 2017. Lecture Notes in Computer Science(), vol 10392. Springer, Cham. https://doi.org/10.1007/978-3-319-62389-4_40
Download citation
DOI: https://doi.org/10.1007/978-3-319-62389-4_40
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-62388-7
Online ISBN: 978-3-319-62389-4
eBook Packages: Computer ScienceComputer Science (R0)