An SPQR-Tree-Like Embedding Representation for Upward Planarity

An SPQR-Tree-Like Embedding Representation for Upward Planarity

An SPQR-Tree-Like Embedding Representation for Upward Planarity Guido Brückner1, Markus Himmel1, Ignaz Rutter2 1 Karlsruhe Institute of Technology · 2 University of Passau 1 Optimization [e.g. Didimo et al. ’18], extension [Angelini et al. ’15],... Have been used to efficiently solve a range of problems Can we find a similar data structure for the upward planar case? SPQR-Trees [Di Battista, Tamassia ’90] Parallel node Rigid node Compactly represent all planar embeddings of a biconnected planar graph 2 Optimization [e.g. Didimo et al. ’18], extension [Angelini et al. ’15],... Have been used to efficiently solve a range of problems Can we find a similar data structure for the upward planar case? SPQR-Trees [Di Battista, Tamassia ’90] Parallel node Rigid node Compactly represent all planar embeddings of a biconnected planar graph 2 Can we find a similar data structure for the upward planar case? SPQR-Trees [Di Battista, Tamassia ’90] Parallel node Rigid node Compactly represent all planar embeddings of a biconnected planar graph Have been used to efficiently solve a range of problems Optimization [e.g. Didimo et al. ’18], extension [Angelini et al. ’15],... 2 Can we find a similar data structure for the upward planar case? SPQR-Trees [Di Battista, Tamassia ’90] Parallel node Rigid node Compactly represent all planar embeddings of a biconnected planar graph Have been used to efficiently solve a range of problems Optimization [e.g. Didimo et al. ’18], extension [Angelini et al. ’15],... 2 SPQR-Trees [Di Battista, Tamassia ’90] Parallel node Rigid node Compactly represent all planar embeddings of a biconnected planar graph Have been used to efficiently solve a range of problems Optimization [e.g. Didimo et al. ’18], extension [Angelini et al. ’15],... Can we find a similar data structure for the upward planar case? 2 ... but linear-time if G is single-source Sufficient to only consider biconnected graphs Basic idea: Decomposition at 2-vertex cuts “Shape” of the rest of the graph ←→ suitable marker graph = + Linear-time algorithm by Bertolazzi et al. ’98 based on SPQR-trees Simpler algorithm by Hutton and Lubiw ’96 using general decompositions Upward planarity testing Upward planarity testing is NP-hard in general [Garg, Tamassia ’94] 3 Linear-time algorithm by Bertolazzi et al. ’98 based on SPQR-trees Simpler algorithm by Hutton and Lubiw ’96 using general decompositions Upward planarity testing Upward planarity testing is NP-hard in general [Garg, Tamassia ’94]... but linear-time if G is single-source Sufficient to only consider biconnected graphs Basic idea: Decomposition at 2-vertex cuts “Shape” of the rest of the graph ←→ suitable marker graph = + 3 Upward planarity testing Upward planarity testing is NP-hard in general [Garg, Tamassia ’94]... but linear-time if G is single-source Sufficient to only consider biconnected graphs Basic idea: Decomposition at 2-vertex cuts “Shape” of the rest of the graph ←→ suitable marker graph = + Linear-time algorithm by Bertolazzi et al. ’98 based on SPQR-trees Simpler algorithm by Hutton and Lubiw ’96 using general decompositions 3 A decomposition result by Hutton and Lubiw Lemma G H1 H2 = + e? Bijective correspondence between embeddings of G and combinations of embeddings of H1 and H2 where Marker graphs determined by a set of rules H1 or H2 is single component Fixed edge e? or its marker are leftmost 4 Decomposition Trees for Upward Planar Embeddings 5 Decomposition Trees for Upward Planar Embeddings 5 Decomposition Trees for Upward Planar Embeddings 5 Actually, order is irrelevant Decomposition Trees for Upward Planar Embeddings Upward planar embedding ←→ upward planar skeleton embeddings Each sequence of decompositions new characterization of upward planar embeddings 5 Decomposition Trees for Upward Planar Embeddings Upward planar embedding ←→ upward planar skeleton embeddings Each sequence of decompositions new characterization of upward planar embeddings Actually, order is irrelevant 5 Decomposition Trees for Upward Planar Embeddings Important question: Which decomposition tree should we use? SPQR-tree is nice for planar embeddings, but offers too many choices Idea: Modify SPQR-tree to have upward planar skeletons 5 Problem: Permuting edges at P-nodes non-upward-planar skeleton Solution: Split P-nodes by marker type Relevant here: , and . P-Node Splits 6 Solution: Split P-nodes by marker type Relevant here: , and . P-Node Splits Problem: Permuting edges at P-nodes non-upward-planar skeleton 6 P-Node Splits Problem: Permuting edges at P-nodes non-upward-planar skeleton Solution: Split P-nodes by marker type Relevant here: , and . 6 P-Node Splits Problem: Permuting edges at P-nodes non-upward-planar skeleton Solution: Split P-nodes by marker type Relevant here: , and . 6 Upward planarity test for embedded single-source graphs [Bertolazzi et al. ’98] Problem: Flipping operation at R-nodes non-upward-planar skeleton Solution: Contract arcs of the tree that do not give embedding choices Arc Contractions 7 Upward planarity test for embedded single-source graphs [Bertolazzi et al. ’98] Solution: Contract arcs of the tree that do not give embedding choices Arc Contractions Problem: Flipping operation at R-nodes non-upward-planar skeleton 7 Arc Contractions Problem: Flipping operation at R-nodes non-upward-planar skeleton Solution: Contract arcs of the tree that do not give embedding choices Upward planarity test for embedded single-source graphs [Bertolazzi et al. ’98] 7 Arc Contractions Problem: Flipping operation at R-nodes non-upward-planar skeleton Solution: Contract arcs of the tree that do not give embedding choices Upward planarity test for embedded single-source graphs [Bertolazzi et al. ’98] 7 The UP-Tree SPQR-tree + P-node splits + arc contractions =: UP-tree Theorem For each biconnected single-source DAG G and e? incident to s there is a decomposition tree T computable in linear time that represents the upward planar embeddings of G in which e? is leftmost does so using P-nodes and R-nodes Example: Partial upward embedding problem solvable in quadratic time 8 The UP-Tree SPQR-tree + P-node splits + arc contractions =: UP-tree Theorem For each biconnected single-source DAG G and e? incident to s there is a decomposition tree T computable in linear time that represents the upward planar embeddings of G in which e? is leftmost does so using P-nodes and R-nodes NB: Dependency on e? is necessary: 8 Conclusion Theorem For each biconnected single-source DAG G and e? incident to s there is a decomposition tree T computable in linear time that represents the upward planar embeddings of G in which e? is leftmost does so using P-nodes and R-nodes Future work: Survey more algorithms that use SPQR-trees and adapt to upward planar case 9.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    27 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us