An SPQR-Tree-Like Embedding Representation for Upward Planarity - - PowerPoint PPT Presentation

an spqr tree like embedding representation for upward
SMART_READER_LITE
LIVE PREVIEW

An SPQR-Tree-Like Embedding Representation for Upward Planarity - - PowerPoint PPT Presentation

An SPQR-Tree-Like Embedding Representation for Upward Planarity Guido Brckner 1 , Markus Himmel 1 , Ignaz Rutter 2 1 Karlsruhe Institute of Technology 2 University of Passau 1 SPQR-Trees [Di Battista, Tamassia 90] P arallel node R igid


slide-1
SLIDE 1

1

1 Karlsruhe Institute of Technology · 2 University of Passau

An SPQR-Tree-Like Embedding Representation for Upward Planarity

Guido Brückner1, Markus Himmel1, Ignaz Rutter2

slide-2
SLIDE 2

SPQR-Trees [Di Battista, Tamassia ’90]

2

Parallel node Rigid node Compactly represent all planar embeddings of a biconnected planar graph

slide-3
SLIDE 3

SPQR-Trees [Di Battista, Tamassia ’90]

2

Parallel node Rigid node Compactly represent all planar embeddings of a biconnected planar graph

slide-4
SLIDE 4

SPQR-Trees [Di Battista, Tamassia ’90]

2

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], . . .

slide-5
SLIDE 5

SPQR-Trees [Di Battista, Tamassia ’90]

2

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], . . .

slide-6
SLIDE 6

SPQR-Trees [Di Battista, Tamassia ’90]

2

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?

slide-7
SLIDE 7

Upward planarity testing

3

Upward planarity testing is NP-hard in general [Garg, Tamassia ’94]

slide-8
SLIDE 8

Upward planarity testing

3

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

= +

slide-9
SLIDE 9

Upward planarity testing

3

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

slide-10
SLIDE 10

A decomposition result by Hutton and Lubiw

4

Lemma

e⋆ G

=

H1

+

H2 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

slide-11
SLIDE 11

Decomposition Trees for Upward Planar Embeddings

5

slide-12
SLIDE 12

Decomposition Trees for Upward Planar Embeddings

5

slide-13
SLIDE 13

Decomposition Trees for Upward Planar Embeddings

5

slide-14
SLIDE 14

Decomposition Trees for Upward Planar Embeddings

5

Upward planar embedding ← → upward planar skeleton embeddings Each sequence of decompositions new characterization of upward planar embeddings

slide-15
SLIDE 15

Decomposition Trees for Upward Planar Embeddings

5

Upward planar embedding ← → upward planar skeleton embeddings Each sequence of decompositions new characterization of upward planar embeddings

Actually, order is irrelevant

slide-16
SLIDE 16

Decomposition Trees for Upward Planar Embeddings

5

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

slide-17
SLIDE 17

P-Node Splits

6

slide-18
SLIDE 18

P-Node Splits

6

Problem: Permuting edges at P-nodes non-upward-planar skeleton

slide-19
SLIDE 19

P-Node Splits

6

Problem: Permuting edges at P-nodes non-upward-planar skeleton Solution: Split P-nodes by marker type

Relevant here: , and .

slide-20
SLIDE 20

P-Node Splits

6

Problem: Permuting edges at P-nodes non-upward-planar skeleton Solution: Split P-nodes by marker type

Relevant here: , and .

slide-21
SLIDE 21

Arc Contractions

7

slide-22
SLIDE 22

Arc Contractions

7

Problem: Flipping operation at R-nodes non-upward-planar skeleton

slide-23
SLIDE 23

Arc Contractions

7

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]

slide-24
SLIDE 24

Arc Contractions

7

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]

slide-25
SLIDE 25

The UP-Tree

8

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

slide-26
SLIDE 26

The UP-Tree

8

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:

slide-27
SLIDE 27

Conclusion

9

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