Abstract
The maximum diameter color-spanning set problem (MaxDCS) is defined as follows: given n points with m colors, select m points with m distinct colors such that the diameter of the set of chosen points is maximized. In this paper, we design an optimal O(n log n) time algorithm using rotating calipers for MaxDCS in the plane. Our algorithm can also be used to solve the maximum diameter problem of imprecise points modeled as polygons. We also give an optimal algorithm for the all farthest foreign neighbor problem (AFFN) in the plane, and propose algorithms to answer the farthest foreign neighbor query (FFNQ) of colored sets in two- and three-dimensional space. Furthermore, we study the problem of computing the closest pair of color-spanning set (CPCS) in d-dimensional space, and remove the log m factor in the best known time bound if d is a constant.
Similar content being viewed by others
References
Shamos M I. Computational geometry [Ph.D. Thesis]. Yale University, 1978.
Toussaint G. Solving geometric problems with the rotating calipers. In Proc. MELECON, May 1983.
Preparata F P, Shamos M I. Computational Geometry: An Introduction. New York, NY, USA: Springer-Verlag, 1985.
Malandain G, Boissonnat J. Computing the diameter of a point set. International Journal of Computational Geometry and Applications, 2002, 12(6): 489–509.
Kreveld M V, Löffler M. Largest bounding box, smallest diameter, and related problems on imprecise points. In Proc. the 10th WADS, Aug. 2007, pp.446–457.
Kamousi P, Chan T M, Suri S. Stochastic minimum spanning trees in Euclidean spaces. In Proc. the 27th Annual ACM Symp. Computational Geometry, June 2011, pp.65–74.
Agarwal P K, Efrat A, Sankararaman S et al. Nearest-neighbor searching under uncertainty. In Proc. the 31st Symp. Principles of Database Systems, May 2012, pp.225–236.
Suri S, Verbeek K, Yildiz H. On the most likely convex hull of uncertain points. In Proc. the 21st European Symp. Algorithms, Sept. 2013, pp.791–802.
Zhang D, Chee Y M, Mondal A, Tung A K H, Kitsuregawa M. Keyword search in spatial databases: Towards searching by document. In Proc. the 25th IEEE International Conference on Data Engineering, Mar. 29-Apr. 2, 2009, pp.688–699.
Chen Y, Chen S, Gu Y et al. MarcoPolo: A community system for sharing and integrating travel information on maps.In Proc. the 12th EDBT, Mar. 2009, pp.1148–1151.
Fleischer R, Xu X. Computing minimum diameter color-spanning sets. In Proc. the 4th FAW, Aug. 2010, pp.285–292.
Ju W, Fan C, Luo J, Zhu B, Daescu O. On some geometric problems of color-spanning sets. Journal of Combinatorial Optimization, 2013, 26(2): 266–283.
Vaidya P M. An O(n log n) algorithm for the all-nearest-neighbors problem. Discrete Comput. Geom., 1989, 4(2): 101–115.
Agarwal P K, Matousek J, Suri S. Farthest neighbors, maximum spanning trees and related problems in higher dimensions. Computational Geometry, 1992, 1(4): 189–201.
Cheong O, Shin C S, Vigneron A. Computing farthest neighbors on a convex polytope. Theor. Comput. Sci.: Computing and Combinatorics, 2003, 296(1): 47–58.
Agarwal P K, Edelsbrunner H, Schwarzkopf O, Welzl E. Euclidean minimum spanning trees and bichromatic closest pairs. In Proc. the 6th SoCG, June 1990, pp.203–210.
Dumitrescu A, Guha S. Extreme distances in multicolored point sets. In Proc. Int. Conf. Computational Science, Part III, April 2002, pp.14–25.
Ramos E A. An optimal deterministic algorithm for computing the diameter of a three-dimensional point set. Discrete and Computational Geometry, 2001, 26(2): 233–244.
Aggarwal A, Edelsbrunner H, Raghavan P, Tiwari P. Optimal time bounds for some proximity problems in the plane. Information Processing Letters, 1992, 42(1): 55–60.
de Berg M, Cheong O, van Kreveld M, Overmars M. Computational Geometry (3rd edition), Springer-Verlag, 2008.
Snoeyink J. Point location. In Handbook of Discrete and Computational Geometry (2nd edition), Goodman J E, O'Rourke J (eds.), 2004, pp.559–574.
Klee V. On the complexity of d-dimensional Voronoi diagrams. Archiv der Mathematik, 1980, 34: 75–80.
Chazelle B. An optimal convex hull algorithm and new results on cuttings. In Proc. the 32nd Annu. IEEE Symp. Foundation of Computer Science, Oct. 1991, pp.29–38.
Dwyer R A. Higher-dimensional Voronoi diagrams in linear expected time. Discrete & Computational Geometry, 1991, 6(1): 343–367.
Chan T M, Snoeyink J, Yap C K. Primal dividing and dual pruning: Output-sensitive construction of four-dimensional polytopes and three-dimensional Voronoi diagrams. Discrete & Computational Geometry, 1997, 18(4): 433–454.
Callahan P B, Kosaraju S R. A decomposition of multidimensional point sets with applications to k-nearest-neighbors and n-body potential fields. J. ACM, 1995, 42(1): 67–90.
Har-Peled S, Mendel M. Fast construction of nets in low dimensional metrics, and their applications. SIAM J. Comput., 2006, 35(5): 1148–1184.
Har-Peled S. Geometric Approximation Algorithms. American Mathematical Society, 2011.
Author information
Authors and Affiliations
Corresponding author
Additional information
This research was supported by the International Science and Technology Cooperation Program of China under Grant No. 2010DFA92720, and the National Natural Science Foundation of China under Grant Nos. 11271351, 60928006, and 61379087. A preliminary version of the paper was published in the Proceedings of COCOA 2013.
Electronic supplementary material
Below is the link to the electronic supplementary material.
ESM 1
(PDF 140 kb)
Rights and permissions
About this article
Cite this article
Fan, CL., Luo, J., Wang, WC. et al. On Some Proximity Problems of Colored Sets. J. Comput. Sci. Technol. 29, 879–886 (2014). https://doi.org/10.1007/s11390-014-1475-0
Received:
Revised:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11390-014-1475-0