Heuristics for Exact 1-Planarity Testing
DOI:
https://doi.org/10.7155/jgaa.v30i2.3136Keywords:
1-Planarity, Experiments, BacktrackingAbstract
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
Downloads
Published
How to Cite
Issue
Section
Categories
License
Copyright (c) 2026 Miriam Münch, Simon D. Fink, Matthias Pfretzschner, Ignaz Rutter

This work is licensed under a Creative Commons Attribution 4.0 International License.


