English

2-Level Quasi-Planarity or How Caterpillars Climb (SPQR-)Trees

Data Structures and Algorithms 2020-11-05 v1 Computational Geometry

Abstract

Given a bipartite graph G=(Vb,Vr,E)G=(V_b,V_r,E), the 22-Level Quasi-Planarity problem asks for the existence of a drawing of GG in the plane such that the vertices in VbV_b and in VrV_r lie along two parallel lines b\ell_b and r\ell_r, respectively, each edge in EE is drawn in the unbounded strip of the plane delimited by b\ell_b and r\ell_r, and no three edges in EE pairwise cross. We prove that the 22-Level Quasi-Planarity problem is NP-complete. This answers an open question of Dujmovi\'c, P\'{o}r, and Wood. Furthermore, we show that the problem becomes linear-time solvable if the ordering of the vertices in VbV_b along b\ell_b is prescribed. Our contributions provide the first results on the computational complexity of recognizing quasi-planar graphs, which is a long-standing open question. Our linear-time algorithm exploits several ingredients, including a combinatorial characterization of the positive instances of the problem in terms of the existence of a planar embedding with a caterpillar-like structure, and an SPQR-tree-based algorithm for testing the existence of such a planar embedding. Our algorithm builds upon a classification of the types of embeddings with respect to the structure of the portion of the caterpillar they contain and performs a computation of the realizable embedding types based on a succinct description of their features by means of constant-size gadgets.

Keywords

Cite

@article{arxiv.2011.02431,
  title  = {2-Level Quasi-Planarity or How Caterpillars Climb (SPQR-)Trees},
  author = {Patrizio Angelini and Giordano Da Lozzo and Giuseppe Di Battista and Fabrizio Frati and Maurizio Patrignani},
  journal= {arXiv preprint arXiv:2011.02431},
  year   = {2020}
}

Comments

Extended version of a paper to appear at SODA '21