Testing Planarity of Partially Embedded Graphs

被引:33
作者
Angelini, Patrizio [1 ]
Di Battista, Giuseppe [1 ]
Frati, Fabrizio [2 ]
Jelinek, Vit [3 ]
Kratochvil, Jan [3 ]
Patrignani, Maurizio [1 ]
Rutter, Ignaz [4 ,5 ]
机构
[1] Univ Rome Tre, Dipartimento Ingn, I-00146 Rome, Italy
[2] Univ Sydney, Sch Informat Technol, Sydney, NSW 2006, Australia
[3] Charles Univ Prague, IUUK MFF UK, CR-11800 Prague 1, Czech Republic
[4] Karlsruhe Inst Technol, Inst Theoret Informat, D-76128 Karlsruhe, Germany
[5] Charles Univ Prague, CR-11800 Prague 1, Czech Republic
基金
澳大利亚研究理事会;
关键词
Algorithms; Theory; Planarity; partial embedding; simultaneous embedding; algorithm; EXTENDING PARTIAL REPRESENTATIONS; MINIMUM NUMBER;
D O I
10.1145/2629341
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We study the following problem: given a planar graph G and a planar drawing (embedding) of a subgraph of G, can such a drawing be extended to a planar drawing of the entire graph G? This problem fits the paradigm of extending a partial solution for a problem to a complete one, which has been studied before in many different settings. Unlike many cases, in which the presence of a partial solution in the input makes an otherwise easy problem hard, we show that the planarity question remains polynomial-time solvable. Our algorithm is based on several combinatorial lemmas, which show that the planarity of partially embedded graphs exhibits the 'TONCAS' behavior "the obvious necessary conditions for planarity are also sufficient." These conditions are expressed in terms of the interplay between (1) the rotation system and containment relationships between cycles and (2) the decomposition of a graph into its connected, biconnected, and triconnected components. This implies that no dynamic programming is needed for a decision algorithm and that the elements of the decomposition can be processed independently. Further, by equipping the components of the decomposition with suitable data structures and by carefully splitting the problem into simpler subproblems, we make our algorithm run in linear time. Finally, we consider several generalizations of the problem, such as minimizing the number of edges of the partial embedding that need to be rerouted to extend it, and argue that they are NP-hard. We also apply our algorithm to the simultaneous graph drawing problem SIMULTANEOUS EMBEDDING WITH FIXED EDGES (SEFE). There we obtain a linear-time algorithm for the case that one of the input graphs or the common graph has a fixed planar embedding.
引用
收藏
页数:42
相关论文
共 48 条
[1]   On a tree and a path with no geometric simultaneous embedding [J].
Angelini, Patrizio ;
Geyer, Markus ;
Kaufmann, Michael ;
Neuwirth, Daniel .
Journal of Graph Algorithms and Applications, 2012, 16 (01) :37-83
[2]   Testing the simultaneous embeddability of two graphs whose intersection is a biconnected or a connected graph [J].
Angelini, Patrizio ;
Di Battista, Giuseppe ;
Frati, Fabrizio ;
Patrignani, Maurizio ;
Rutter, Ignaz .
JOURNAL OF DISCRETE ALGORITHMS, 2012, 14 :150-172
[3]  
Angelini P, 2010, PROC APPL MATH, V135, P202
[4]  
[Anonymous], 2004, Journal of Graph Algorithms and Applications
[5]   Computing orthogonal drawings with the minimum number of bends [J].
Bertolazzi, P ;
Di Battista, G ;
Didimo, W .
IEEE TRANSACTIONS ON COMPUTERS, 2000, 49 (08) :826-840
[6]  
Bläsius T, 2013, PROCEEDINGS OF THE TWENTY-FOURTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS (SODA 2013), P1030
[7]  
Blasius Thomas, 2013, Graph Drawing. 21st International Symposium, GD 2013. Revised Selected Papers: LNCS 8242, P220, DOI 10.1007/978-3-319-03841-4_20
[8]  
Blasius Thomas, 2013, Graph Drawing. 20th International Symposium, GD 2012. Revised Selected Papers, P31, DOI 10.1007/978-3-642-36763-2_4
[9]  
Blasius Thomas, 2013, HDB GRAPH DRAWING VI
[10]   Tremaux trees and planarity [J].
De Fraysseix, Hubert ;
Ossona de Mendez, Patrice ;
Rosenstiehl, Pierre .
INTERNATIONAL JOURNAL OF FOUNDATIONS OF COMPUTER SCIENCE, 2006, 17 (05) :1017-1029