Skip to main content
Log in

On Rainbow Quadrilaterals in Colored Point Sets

  • Original Paper
  • Published:
Graphs and Combinatorics Aims and scope Submit manuscript

Abstract

Let S be a set of n points on the plane in general position whose elements have been colored with k colors. A rainbow polygon of S is a polygon such that all of its vertices are elements of S and have different colors. In this paper we give \(O(k n^2)\)-time algorithms to solve the following problems: find a minimum(maximum)-area rainbow triangle, and a minimum(maximum)-area rainbow quadrilateral of S, \(k \ge 3\). We also present an \(O(n^2)\)-time algorithm to determine if a 4-colored point set contains a convex rainbow quadrilateral, and an \(O(n^3)\)-time algorithm to determine if a 4-colored point set contains an empty rainbow quadrilateral, whether convex or not.

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.

Institutional subscriptions

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9

Similar content being viewed by others

Data Availibility Statement

Data sharing not applicable to this article as no datasets were generated or analysed during the current study.

References

  1. Aichholzer, O., Fabila-Monroy, R., Flores-Penaloza, D., Hackl, T., Huemer, C., Urrutia, J.: Empty monochromatic triangles. Comput Geom 42(9), 934–938 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  2. Aichholzer, O., Fabila-Monroy, R., Hackl, T., Huemer, C., Urrutia, J.: Empty monochromatic simplices. Discrete Comput Geom 51(2), 362–393 (2014)

    Article  MathSciNet  MATH  Google Scholar 

  3. Aichholzer, O., Urrutia, J., Vogtenhuber, B.: Balanced 6-holes in bichromatic point sets. In: Japanese Conference on Discrete and Computational Geometry, pp. 5–6. (2013)

  4. Asano, T., Asano, T., Guibas, L., Hershberger, J., Imai, H.: Visibility of disjoint polygons. Algorithmica 1(1–4), 49–63 (1986)

    Article  MathSciNet  MATH  Google Scholar 

  5. Bautista-Santiago, C., Díaz-Báñez, J.M., Lara, D., Pérez-Lantero, P., Urrutia, J., Ventura, I.: Computing optimal islands. Oper. Res. Lett. 39(4), 246–251 (2011)

    Article  MathSciNet  MATH  Google Scholar 

  6. Bereg, S., Díaz-Báñez, J.M., Fabila-Monroy, R., Pérez-Lantero, P., Ramírez-Vigueras, A., Sakai, T., Urrutia, J., Ventura, I.: On balanced 4-holes in bichromatic point sets. Comput. Geom. 48(3), 169–179 (2015)

    Article  MathSciNet  MATH  Google Scholar 

  7. Chan, T.M.: More logarithmic-factor speedups for 3sum,(median,+)-convolution, and some geometric 3sum-hard problems. ACM Trans. Algorithms (TALG) 16(1), 1–23 (2019)

    MathSciNet  Google Scholar 

  8. Chandran, S., Mount, D.M.: A parallel algorithm for enclosed and enclosing triangles. International Journal of Computational Geometry & Applications 2(02), 191–214 (1992)

    Article  MathSciNet  MATH  Google Scholar 

  9. Chazelle, B., Guibas, L.J., Lee, D.T.: The power of geometric duality. BIT Numer. Math. 25(1), 76–90 (1985)

    Article  MathSciNet  MATH  Google Scholar 

  10. Cravioto-Lagos, J., González-Martínez, A.C., Sakai, T., Urrutia, J.: On almost empty monochromatic triangles and convex quadrilaterals in colored point sets. Graphs Combin. 35(6), 1475–1493 (2019)

    Article  MathSciNet  MATH  Google Scholar 

  11. Devillers, O., Hurtado, F., Károlyi, G., Seara, C.: Chromatic variants of the erdos-szekeres theorem on points in convex position. Comput. Geom. 26(3), 193–208 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  12. Edelsbrunner, H., Guibas, L.J.: Topologically sweeping an arrangement. J. Comput. Syst. Sci. 38(1), 165–194 (1989)

    Article  MathSciNet  MATH  Google Scholar 

  13. Edelsbrunner, H., O’Rourke, J., Seidel, R.: Constructing arrangements of lines and hyperplanes with applications. SIAM J. Comput. 15(2), 341–363 (1986)

    Article  MathSciNet  MATH  Google Scholar 

  14. Eppstein, D.: New algorithms for minimum area k-gons. In: Proceedings of the third annual ACM-SIAM symposium on Discrete algorithms, pp. 83–88 (1992)

  15. Eppstein, D., Overmars, M., Rote, G., Woeginger, G.: Finding minimum area k-gons. Discrete & Computational Geometry 7(1), 45–58 (1992)

    Article  MathSciNet  MATH  Google Scholar 

  16. Erdös, P., Szekeres, G.: A combinatorial problem in geometry. Compos. Math. 2, 463–470 (1935)

    MathSciNet  MATH  Google Scholar 

  17. Fabila-Monroy, R., Perz, D., Trujillo-Negrete, A.L.: Empty rainbow triangles in k-colored point sets. Comput. Geom. 95, 101731 (2021)

    Article  MathSciNet  MATH  Google Scholar 

  18. Flores-Peñaloza, D., Kano, M., Martínez-Sandoval, L., Orden, D., Tejel, J., Tóth, C.D., Urrutia, J., Vogtenhuber, B.: Rainbow polygons for colored point sets in the plane. Discret. Math. 344(7), 112406 (2021)

    Article  MathSciNet  MATH  Google Scholar 

  19. Gajentaan, A., Overmars, M.H.: On a class of \({O}(n^2)\) problems in computational geometry. Comput. Geom. 5(3), 165–185 (1995)

    Article  MathSciNet  MATH  Google Scholar 

  20. Ghosh, S.K.: Visibility algorithms in the plane. Cambridge University Press, Cambridge (2007)

    Book  MATH  Google Scholar 

  21. Hêche, J.F., Liebling, T.M.: Finding minimum area simple pentagons. Oper. Res. Lett. 21(5), 229–233 (1997)

    Article  MathSciNet  MATH  Google Scholar 

  22. van der Hoog, I., Keikha, V., Löffler, M., Mohades, A., Urhausen, J.: Maximum-area triangle in a convex polygon, revisited. Inf. Process. Lett. p. 105943 (2020)

  23. Jin, K.: Maximal area triangles in a convex polygon. arXiv:1707.04071 (2017)

  24. Kallus, Y.: A linear-time algorithm for the maximum-area inscribed triangle in a convex polygon. arXiv:1706.03049 (2017)

  25. Pach, J., Tóth, G.: Monochromatic empty triangles in two-colored point sets. Discret. Appl. Math. 161(9), 1259–1261 (2013)

    Article  MathSciNet  MATH  Google Scholar 

  26. Rote, G.: The largest contained quadrilateral and the smallest enclosing parallelogram of a convex polygon. arXiv:1905.11203 (2019)

Download references

Funding

A. Arévalo, R. Chávez-Jiménez, A. Hernández-Mora, R. López-López and N. Marín are supported by SEP-CONACyT of Mexico; A. Ramírez-Vigueras and J. Urrutia are partially supported by PAPIIT IN105221, Programa de Apoyo a la Investigación e Innovación Tecnológica UNAM.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to N. Marín.

Ethics declarations

Conflict of interest

The authors have no relevant financial or non-financial interests to disclose. The authors declare that they have no conflict of interest.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

A. Arévalo, R. Chávez-Jiménez, A. Hernández-Mora, R. López-López and N. Marín are supported by SEP-CONACyT of Mexico. A. Ramírez-Vigueras and J. Urrutia are partially supported by PAPIIT IN105221, Programa de Apoyo a la Investigación e Innovación Tecnologíca UNAM.

Rights and permissions

Springer Nature or its licensor holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Arévalo, A., Chávez-Jiménez, R., Hernández-Mora, A. et al. On Rainbow Quadrilaterals in Colored Point Sets. Graphs and Combinatorics 38, 152 (2022). https://doi.org/10.1007/s00373-022-02559-y

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s00373-022-02559-y

Keywords

Mathematics Subject Classification

Navigation