Heuristics for Exact 1-Planarity Testing

Authors

  • Miriam Münch Faculty of Computer Science and Mathematics, University of Passau, Germany
  • Simon D. Fink Algorithms and Complexity Group, TU Wien, Austria
  • Matthias Pfretzschner Faculty of Computer Science and Mathematics, University of Passau, Germany
  • Ignaz Rutter Faculty of Computer Science and Mathematics, University of Passau, Germany

DOI:

https://doi.org/10.7155/jgaa.v30i2.3136

Keywords:

1-Planarity, Experiments, Backtracking

Abstract

Since many real-world graphs are nonplanar, the study of graphs that allow few crossings per edge has been an active subfield of graph theory in recent years. One of the most natural generalizations of planar graphs are the so-called 1-planar graphs that admit a drawing with at most one crossing per edge. Unfortunately, testing whether a graph is 1-planar is known to be NP-complete even for very restricted graph classes. On the positive side, Binucci, Didimo and Montecchiani [7] presented the first practical algorithm for testing 1-planarity based on an easy-to-implement backtracking strategy. We build on this idea and systematically explore the design choices of such algorithms and propose several new ingredients, such as different branching strategies and multiple filter criteria that allow us to reject certain branches in the search tree early on. We conduct an extensive experimental evaluation that evaluates the efficiency and effectiveness of these ingredients. Given a time limit of three hours per instance, our best configuration is able to solve more than 98% of the non-planar instances from the well-known North and Rome graphs with up to 50 vertices. Notably, the median running time for solved instances is well below 1 second.

Downloads

Download data is not yet available.

Downloads

Published

2026-04-29

How to Cite

Münch, M., Fink, S. D., Pfretzschner, M., & Rutter, I. (2026). Heuristics for Exact 1-Planarity Testing. Journal of Graph Algorithms and Applications, 30(2), 121–147. https://doi.org/10.7155/jgaa.v30i2.3136