Planaridade Quase de Dois Níveis ou Como Formigas-Cascavela Subem (Árvores SPQR-)
2-Level Quasi-Planarity or How Caterpillars Climb (SPQR-)Trees
2-Level Quasi-Planarity or How Caterpillars Climb (SPQR-)Trees
@misc{angelini2020level,
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},
year = {2020},
eprint = {2011.02431},
archivePrefix = {arXiv},
primaryClass = {cs.DS},
url = {https://arxiv.org/abs/2011.02431}
}
Angelini, P., Lozzo, G. D., Battista, G. D., Frati, F., & Patrignani, M. (2020). 2-Level Quasi-Planarity or How Caterpillars Climb (SPQR-)Trees [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2011.02431
ANGELINI P, LOZZO GD, BATTISTA GD, et al. 2-Level Quasi-Planarity or How Caterpillars Climb (SPQR-)Trees[EB/OL]. (2020-11-04)[2026-11-29]. https://arxiv.org/abs/2011.02431.
Resumo
Dado um grafo bipartite G=(V_b,V_r,E), o problema da 2-Level Quasi-Planaridade pergunta pela existência de um desenho de G no plano tal que os vértices em V_b e em V_r estejam alinhados ao longo de duas linhas paralelas ell_b e ell_r, respectivamente, cada aresta em E seja desenhada na faixa não limitada do plano delimitada por ell_b e ell_r, e nenhuma três arestas em E se cruzem mutuamente. Provamos que o problema da 2-Level Quasi-Planaridade é NP-completo. Isso responde a uma questão aberta de Dujmović, Pór e Wood. Além disso, mostramos que o problema torna-se solucionável em tempo linear se a ordenação dos vértices em V_b ao longo de ell_b for prescrita. Nossas contribuições fornecem os primeiros resultados sobre a complexidade computacional de reconhecer grafos quasi-planares, que é uma questão aberta de longa data. Nosso algoritmo de tempo linear explora vários ingredientes, incluindo uma caracterização combinatória das instâncias positivas do problema em termos da existência de um mergulho plano com uma estrutura semelhante a um caterpillar, e um algoritmo baseado em árvore SPQR para testar a existência de tal mergulho plano. Nosso algoritmo se baseia em uma classificação dos tipos de mergulhos em relação à estrutura da porção do caterpillar que contêm e realiza um cálculo dos tipos de mergulhos realizáveis com base em uma descrição sucinta de suas características por meio de gadgets de tamanho constante.
Given a bipartite graph G=(V_b,V_r,E), the 2-Level Quasi-Planarity problem asks for the existence of a drawing of G in the plane such that the vertices in V_b and in V_r lie along two parallel lines ell_b and ell_r, respectively, each edge in E is drawn in the unbounded strip of the plane delimited by ell_b and ell_r, and no three edges in E pairwise cross. We prove that the 2-Level Quasi-Planarity problem is NP-complete. This answers an open question of Dujmović, Pór, and Wood. Furthermore, we show that the problem becomes linear-time solvable if the ordering of the vertices in V_b along 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.