Skip to main content
Log in

On Some Proximity Problems of Colored Sets

  • Regular Paper
  • Published:
Journal of Computer Science and Technology Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Shamos M I. Computational geometry [Ph.D. Thesis]. Yale University, 1978.

  2. Toussaint G. Solving geometric problems with the rotating calipers. In Proc. MELECON, May 1983.

  3. Preparata F P, Shamos M I. Computational Geometry: An Introduction. New York, NY, USA: Springer-Verlag, 1985.

  4. Malandain G, Boissonnat J. Computing the diameter of a point set. International Journal of Computational Geometry and Applications, 2002, 12(6): 489–509.

    Article  MathSciNet  MATH  Google Scholar 

  5. 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.

  6. 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.

  7. 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.

  8. 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.

  9. 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.

  10. 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.

  11. Fleischer R, Xu X. Computing minimum diameter color-spanning sets. In Proc. the 4th FAW, Aug. 2010, pp.285–292.

  12. 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.

    Article  MathSciNet  MATH  Google Scholar 

  13. Vaidya P M. An O(n log n) algorithm for the all-nearest-neighbors problem. Discrete Comput. Geom., 1989, 4(2): 101–115.

    Article  MathSciNet  MATH  Google Scholar 

  14. 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.

    Article  MathSciNet  MATH  Google Scholar 

  15. 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.

  16. 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.

  17. Dumitrescu A, Guha S. Extreme distances in multicolored point sets. In Proc. Int. Conf. Computational Science, Part III, April 2002, pp.14–25.

  18. 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.

    Article  MathSciNet  MATH  Google Scholar 

  19. 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.

    Article  MathSciNet  MATH  Google Scholar 

  20. de Berg M, Cheong O, van Kreveld M, Overmars M. Computational Geometry (3rd edition), Springer-Verlag, 2008.

  21. Snoeyink J. Point location. In Handbook of Discrete and Computational Geometry (2nd edition), Goodman J E, O'Rourke J (eds.), 2004, pp.559–574.

  22. Klee V. On the complexity of d-dimensional Voronoi diagrams. Archiv der Mathematik, 1980, 34: 75–80.

    Article  MathSciNet  MATH  Google Scholar 

  23. 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.

  24. Dwyer R A. Higher-dimensional Voronoi diagrams in linear expected time. Discrete & Computational Geometry, 1991, 6(1): 343–367.

    Article  MathSciNet  MATH  Google Scholar 

  25. 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.

    Article  MathSciNet  MATH  Google Scholar 

  26. 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.

    Article  MathSciNet  MATH  Google Scholar 

  27. Har-Peled S, Mendel M. Fast construction of nets in low dimensional metrics, and their applications. SIAM J. Comput., 2006, 35(5): 1148–1184.

    Article  MathSciNet  MATH  Google Scholar 

  28. Har-Peled S. Geometric Approximation Algorithms. American Mathematical Society, 2011.

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jun Luo.

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

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

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

Download citation

  • Received:

  • Revised:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11390-014-1475-0

Keywords

Navigation