Skip to main content
Log in

Recognizing Optimal 1-Planar Graphs in Linear Time

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract

A graph with n vertices is 1-planar if it can be drawn in the plane such that each edge is crossed at most once, and is optimal if it has the maximum of \(4n-8\) edges. We show that optimal 1-planar graphs can be recognized in linear time. Our algorithm implements a graph reduction system with two rules, which can be used to reduce every optimal 1-planar graph to an irreducible extended wheel graph. The graph reduction system is non-deterministic, constraint, and non-confluent.

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.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11
Fig. 12
Fig. 13
Fig. 14

Similar content being viewed by others

References

  1. Argyriou, E.N., Bekos, M.A., Symvonis, A.: The straight-line RAC drawing problem is NP-hard. J. Graph Algorithms Appl. 16(2), 569–597 (2012)

    Article  MathSciNet  MATH  Google Scholar 

  2. Auer, C., Bachmaier, C., Brandenburg, F.J., Gleißner, A., Hanauer, K., Neuwirth, D., Reislhuber, J.: Outer 1-planar graphs. Algorithmica 74(4), 1293–1320 (2016)

  3. Auer, C., Brandenburg, F.J., Gleißner, A., Reislhuber, J.: 1-Planarity of graphs with a rotation system. J. Graph Algorithms Appl. 19(1), 67–86 (2015)

    Article  MathSciNet  MATH  Google Scholar 

  4. Bannister, M.J., Cabello, S., Eppstein, D.: Parameterized complexity of 1-planarity. In: Dehne, F., Solis-Oba, R., Sack, J. (eds.) WADS 2013. LNCS, vol. 8037, pp. 97–108 (2013)

  5. Bekos, M.A., Cornelsen, S., Grilli, L., Hong, S., Kaufmann, M.: On the recognition of fan-planar and maximal outer-fan-planar graphs. In: Duncan, C.A., Symvonis, A. (eds.) GD 2014. pp. 198–209 (2014)

  6. Binucci, C., Di Giacomo, E., Didimo, W., Montecchiani, F., Patrignani, M., Symvonis, A., Tollis, I.G.: Fan-planarity: properties and complexity. Theor. Comput. Sci. 589, 76–86 (2015)

    Article  MathSciNet  MATH  Google Scholar 

  7. Bodendiek, R., Schumacher, H., Wagner, K.: Bemerkungen zu einem Sechsfarbenproblem von G. Ringel. Abh. aus dem Math. Seminar der Univ. Hamburg 53, 41–52 (1983)

    Article  MathSciNet  MATH  Google Scholar 

  8. Bodendiek, R., Schumacher, H., Wagner, K.: Über 1-optimale Graphen. Mathematische Nachrichten 117, 323–339 (1984)

    Article  MathSciNet  MATH  Google Scholar 

  9. Brandenburg, F.J.: On 4-map graphs and 1-planar graphs and their recognition problem. CoRR (2015), arXiv:1509.03447

  10. Brandenburg, F.J.: A reduction system for optimal 1-planar graphs. CoRR (2016). arXiv:1602.06407

  11. Brandenburg, F.J.: The computational complexity of certain graph grammars. In: Cremers, A.B., Kriegel, H. (eds.) 6th GI-Conference Theoretical Computer Science. LNCS, vol. 145, pp. 91–99. Springer (1983)

  12. Brandenburg, F.J., Didimo, W., Evans, W.S., Kindermann, P., Liotta, G., Montecchianti, F.: Recognizing and drawing IC-planar graphs. Theor. Comput. Sci. 636, 1–16 (2016)

    Article  MathSciNet  MATH  Google Scholar 

  13. Brandenburg, F.J., Eppstein, D., Gleißner, A., Goodrich, M.T., Hanauer, K., Reislhuber, J.: On the density of maximal 1-planar graphs. In: van Kreveld, M., Speckmann, B. (eds.) GD 2012. LNCS, vol. 7704, pp. 327–338. Springer (2013)

  14. Brinkmann, G., Greenberg, S., Greenhill, C., McKay, B.D., Thomas, R., Wollan, P.: Generation of simple quadrangulations of the sphere. Discrete Math. 305, 33–54 (2005)

    Article  MathSciNet  MATH  Google Scholar 

  15. Cabello, S., Mohar, B.: Adding one edge to planar graphs makes crossing number and 1-planarity hard. SIAM J. Comput. 42(5), 1803–1829 (2013)

    Article  MathSciNet  MATH  Google Scholar 

  16. Chen, Z., Grigni, M., Papadimitriou, C.H.: Map graphs. J. ACM 49(2), 127–138 (2002)

    Article  MathSciNet  MATH  Google Scholar 

  17. Chen, Z., Grigni, M., Papadimitriou, C.H.: Recognizing hole-free 4-map graphs in cubic time. Algorithmica 45(2), 227–262 (2006)

    Article  MathSciNet  MATH  Google Scholar 

  18. Corradini, A., Montanari, U., Rossi, F., Ehrig, H., Heckel, R., Löwe, M.: Algebraic approaches to graph transformations. In: Rozenberg, G. (ed.) Handbook of Graph Grammars and Computing by Graph Transformation, pp. 163–245. World Scientific, Singapore (1997)

    Chapter  Google Scholar 

  19. Di Battista, G., Tamassia, R.: On-line planarity testing. SIAM J. Comput. 25(5), 956–997 (1996)

    Article  MathSciNet  MATH  Google Scholar 

  20. Didimo, W.: Density of straight-line 1-planar graph drawings. Inform. Process. Lett. 113(7), 236–240 (2013)

    Article  MathSciNet  MATH  Google Scholar 

  21. Eades, P., Hong, S.H., Katoh, N., Liotta, G., Schweitzer, P., Suzuki, Y.: A linear time algorithm for testing maximal 1-planarity of graphs with a rotation system. Theor. Comput. Sci. 513, 65–76 (2013)

    Article  MathSciNet  MATH  Google Scholar 

  22. Eades, P., Liotta, G.: Right angle crossing graphs and 1-planarity. Discret. Appl. Math. 161(7–8), 961–969 (2013)

    Article  MathSciNet  MATH  Google Scholar 

  23. Eggleton, R.B.: Rectilinear drawings of graphs. Utilitas Math. 29, 149–172 (1986)

    MathSciNet  MATH  Google Scholar 

  24. Grigoriev, A., Bodlaender, H.L.: Algorithms for graphs embeddable with few crossings per edge. Algorithmica 49(1), 1–11 (2007)

    Article  MathSciNet  MATH  Google Scholar 

  25. Gutwenger, C., Mutzel, P.: A linear time implementation of SPQR-trees. In: Marks, J. (ed.) GD 2000, LNCS, vol. 1984, pp. 77–90. Springer, Berlin (2001)

    Google Scholar 

  26. Hong, S., Eades, P., Katoh, N., Liotta, G., Schweitzer, P., Suzuki, Y.: A linear-time algorithm for testing outer-1-planarity. Algorithmica 72(4), 1033–1054 (2015)

    Article  MathSciNet  MATH  Google Scholar 

  27. Hong, S.H., Eades, P., Liotta, G., Poon, S.H.: Fáry’s theorem for 1-planar graphs. In: Gudmundsson, J., Mestre, J., Viglas, T. (eds.) COCOON 2012, LNCS, vol. 7434, pp. 335–346. Springer, Berlin (2012)

    Google Scholar 

  28. Korzhik, V.P., Mohar, B.: Minimal obstructions for 1-immersion and hardness of 1-planarity testing. J. Graph Theor. 72, 30–71 (2013)

    Article  MathSciNet  MATH  Google Scholar 

  29. Kyncl, J.: Enumeration of simple complete topological graphs. Eur. J. Comb. 30(7), 1676–1685 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  30. Mehlhorn, K., Näher, S.: LEDA: A Platform for Combinatorial and Geometric Computing. Cambridge University Press, Cambridge (1999)

    MATH  Google Scholar 

  31. Pach, J., Tóth, G.: Graphs drawn with a few crossings per edge. Combinatorica 17, 427–439 (1997)

    Article  MathSciNet  MATH  Google Scholar 

  32. Patrignani, M.: Planarity testing and embedding. In: Tamassia, R. (ed.) Handbook of Graph Drawing and Visualization. CRC Press, Boca Raton (2013)

    Google Scholar 

  33. Ringel, G.: Ein Sechsfarbenproblem auf der Kugel. Abh. aus dem Math. Seminar der Univ. Hamburg 29, 107–117 (1965)

  34. Rozenberg, G.: Handbook of Graph Grammars and Computing by Graph Transformation. World Scientific, Singapore (1997)

    Book  MATH  Google Scholar 

  35. Schumacher, H.: Zur Struktur 1-planarer Graphen. Mathematische Nachrichten 125, 291–300 (1986)

    MathSciNet  MATH  Google Scholar 

  36. Suzuki, Y.: Re-embeddings of maximum 1-planar graphs. SIAM J. Discret. Math. 24(4), 1527–1540 (2010)

    Article  MathSciNet  MATH  Google Scholar 

  37. Whitney, H.: Planar graphs. Fund. Math. 21, 73–84 (1933)

    Article  MATH  Google Scholar 

Download references

Acknowledgments

I would like to thank Christian Bachmaier and Josef Reislhuber for many inspiring discussions and their support and the reviewers for their valuable suggestions.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Franz J. Brandenburg.

Additional information

Supported by the Deutsche Forschungsgemeinschaft (DFG), Grant Br835/18-1.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Brandenburg, F.J. Recognizing Optimal 1-Planar Graphs in Linear Time. Algorithmica 80, 1–28 (2018). https://doi.org/10.1007/s00453-016-0226-8

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00453-016-0226-8

Keywords

Navigation