Track Layout is Hard Michael J. Bannister 1 William E. Devanny 2 c 3 - - PowerPoint PPT Presentation

track layout is hard
SMART_READER_LITE
LIVE PREVIEW

Track Layout is Hard Michael J. Bannister 1 William E. Devanny 2 c 3 - - PowerPoint PPT Presentation

Track Layout is Hard Michael J. Bannister 1 William E. Devanny 2 c 3 Vida Dujmovi David Eppstein 2 David R. Wood 4 1 Santa Clara University 2 University of California, Irvine 3 University of Ottawa 4 Monash University Track Layout Track Layout


slide-1
SLIDE 1

Track Layout is Hard

Michael J. Bannister1 William E. Devanny2 Vida Dujmovi´ c3 David Eppstein2 David R. Wood4

1Santa Clara University 2University of California, Irvine 3University of Ottawa 4Monash University

slide-2
SLIDE 2

Track Layout

slide-3
SLIDE 3

Track Layout

slide-4
SLIDE 4

Track Layout

slide-5
SLIDE 5

Track Layout

slide-6
SLIDE 6

Track Layout

slide-7
SLIDE 7

Track Layout

slide-8
SLIDE 8

Track Layout

slide-9
SLIDE 9

Track Layout

slide-10
SLIDE 10

Track Layout

slide-11
SLIDE 11

Track Layout

slide-12
SLIDE 12

Track Layout

Track layouts find applications in minimizing the volume of 3D drawings

[Di Giacomo, 2004; Di Giacomo and Meijer, 2004; Dujmovi´ c and Wood, 2004; Felsner et al, 2003; Hasunuma, 2004]

slide-13
SLIDE 13

Track Layout

Given a graph G can we compute the track number for G? A graph is 2-track if and only if it is a forest of caterpillars Track layouts find applications in minimizing the volume of 3D drawings

[Di Giacomo, 2004; Di Giacomo and Meijer, 2004; Dujmovi´ c and Wood, 2004; Felsner et al, 2003; Hasunuma, 2004]

slide-14
SLIDE 14

Track Layout

Given a graph G can we compute the track number for G? A graph is 2-track if and only if it is a forest of caterpillars Track layouts find applications in minimizing the volume of 3D drawings

[Di Giacomo, 2004; Di Giacomo and Meijer, 2004; Dujmovi´ c and Wood, 2004; Felsner et al, 2003; Hasunuma, 2004]

3-track and higher?

slide-15
SLIDE 15

Leveled planarity

Perfect Sugiyama-style layered drawing No edge crossing No dummy vertices Recognition is NP-complete

[Heath and Rosenberg, 1992]

slide-16
SLIDE 16

Leveled planarity

Perfect Sugiyama-style layered drawing No edge crossing No dummy vertices Recognition is NP-complete

[Heath and Rosenberg, 1992]

Will show leveled planar graphs are the same as bipartite 3-track graphs

slide-17
SLIDE 17

Lemma: Every leveled planar graph has a 3-track layout.

slide-18
SLIDE 18

Lemma: Every leveled planar graph has a 3-track layout.

slide-19
SLIDE 19

Lemma: Every leveled planar graph has a 3-track layout. 1 2 3 1 2 3

slide-20
SLIDE 20

Lemma: Every leveled planar graph has a 3-track layout. 1 2 3 1 2 3 1 2 3

slide-21
SLIDE 21

Lemma: Every leveled planar graph has a 3-track layout. 1 2 3 1 2 3 1 2 3

slide-22
SLIDE 22

Lemma: Every leveled planar graph has a 3-track layout. 1 2 3 1 2 3 1 2 3

slide-23
SLIDE 23

+1 +1 +1 +1 −1 Label counterclockwise edges −1 Label clockwise edges +1

slide-24
SLIDE 24

+1 +1 +1 +1 −1 Label counterclockwise edges −1 Label clockwise edges +1

  • e∈Clabel(e) =

0 if |C| is even ±3 if |C| is odd +1 + 1 + 1 − 1 + 1 = +3 Lemma: Proof:

slide-25
SLIDE 25

Label counterclockwise edges −1 Label clockwise edges +1

  • e∈Clabel(e) =

0 if |C| is even ±3 if |C| is odd +1 + 1 + 1 − 1 + 1 = +3 Lemma: Proof: The cycle forms a polygon and has at least two ears

slide-26
SLIDE 26

Label counterclockwise edges −1 Label clockwise edges +1

  • e∈Clabel(e) =

0 if |C| is even ±3 if |C| is odd +1 + 1 + 1 − 1 + 1 = +3 Lemma: Proof: The cycle forms a polygon and has at least two ears If the edges of an ear are +1 and −1 remove it

slide-27
SLIDE 27

Label counterclockwise edges −1 Label clockwise edges +1

  • e∈Clabel(e) =

0 if |C| is even ±3 if |C| is odd +1 + 1 + 1 − 1 + 1 = +3 Lemma: Proof: The cycle forms a polygon and has at least two ears If the edges of an ear are +1 and −1 remove it If the edges of every ear have the same sign than the polygon is a triangle

slide-28
SLIDE 28

Label counterclockwise edges −1 Label clockwise edges +1

  • e∈Clabel(e) =

0 if |C| is even ±3 if |C| is odd +1 + 1 + 1 − 1 + 1 = +3 Lemma: Proof: The cycle forms a polygon and has at least two ears If the edges of an ear are +1 and −1 remove it If the edges of every ear have the same sign than the polygon is a triangle The winding number of a cycle around the central point is 0 if the cycle has even length and is 1 if the cycle has odd length

slide-29
SLIDE 29

Lemma: Every bipartite 3-track graph is leveled planar.

slide-30
SLIDE 30

Lemma: Every bipartite 3-track graph is leveled planar.

slide-31
SLIDE 31

Lemma: Every bipartite 3-track graph is leveled planar.

slide-32
SLIDE 32

Lemma: Every bipartite 3-track graph is leveled planar.

slide-33
SLIDE 33

Lemma: Every bipartite 3-track graph is leveled planar.

slide-34
SLIDE 34

Lemma: Every bipartite 3-track graph is leveled planar. Non-tree edges form cycles in the tree ⇒ Edges connect consecutive levels

slide-35
SLIDE 35

Order vertices by their track order ⇒ No crossings Lemma: Every bipartite 3-track graph is leveled planar. Non-tree edges form cycles in the tree ⇒ Edges connect consecutive levels

slide-36
SLIDE 36

Order vertices by their track order ⇒ No crossings Lemma: Every bipartite 3-track graph is leveled planar. Non-tree edges form cycles in the tree ⇒ Edges connect consecutive levels Thm: Recognizing 3-track graphs is NP-complete

slide-37
SLIDE 37

Bipartite Outerplanar Graphs

Which 3-track graphs can we recognize and layout 3-track?

slide-38
SLIDE 38

Bipartite Outerplanar Graphs

Which 3-track graphs can we recognize and layout 3-track? Pick a vertex and perform a breadth first layering

slide-39
SLIDE 39

Bipartite Outerplanar Graphs

Which 3-track graphs can we recognize and layout 3-track? Pick a vertex and perform a breadth first layering How to layout vertices with a level? Each face cycle has a closest vertex to the chosen vertex Otherwise there is a K2.3 subdivision

slide-40
SLIDE 40

Bipartite Outerplanar Graphs

Which 3-track graphs can we recognize and layout 3-track? Pick a vertex and perform a breadth first layering How to layout vertices with a level? Each face cycle has a closest vertex to the chosen vertex Order vertices of each face cycle independently

slide-41
SLIDE 41

Bipartite Outerplanar Graphs

Which 3-track graphs can we recognize and layout 3-track? Pick a vertex and perform a breadth first layering How to layout vertices with a level? Each face cycle has a closest vertex to the chosen vertex Order vertices of each face cycle independently

slide-42
SLIDE 42

Bipartite Outerplanar Graphs

Which 3-track graphs can we recognize and layout 3-track? Pick a vertex and perform a breadth first layering How to layout vertices with a level? Each face cycle has a closest vertex to the chosen vertex Order vertices of each face cycle independently

slide-43
SLIDE 43

Bipartite Outerplanar Graphs

Which 3-track graphs can we recognize and layout 3-track? Pick a vertex and perform a breadth first layering How to layout vertices with a level? Each face cycle has a closest vertex to the chosen vertex Order vertices of each face cycle independently

slide-44
SLIDE 44

Bipartite Outerplanar Graphs

Which 3-track graphs can we recognize and layout 3-track? Pick a vertex and perform a breadth first layering How to layout vertices with a level? Each face cycle has a closest vertex to the chosen vertex Order vertices of each face cycle independently

slide-45
SLIDE 45

Bipartite Outerplanar Graphs

Which 3-track graphs can we recognize and layout 3-track? Pick a vertex and perform a breadth first layering How to layout vertices with a level? Each face cycle has a closest vertex to the chosen vertex Order vertices of each face cycle independently Because every face cycle has a valid layout, the entire graph has a valid layout

[Abel et al, 2014]

slide-46
SLIDE 46

Squaregraphs

Every bounded face is a 4-cycle and every interior vertex has at least 4 neighbors

slide-47
SLIDE 47

Squaregraphs

Every bounded face is a 4-cycle and every interior vertex has at least 4 neighbors Again pick a vertex and perform a breadth first layering

slide-48
SLIDE 48

Squaregraphs

Every bounded face is a 4-cycle and every interior vertex has at least 4 neighbors Again pick a vertex and perform a breadth first layering Use [Bandelt et al, 2010] for ordering layers

slide-49
SLIDE 49

Squaregraphs

Every bounded face is a 4-cycle and every interior vertex has at least 4 neighbors Again pick a vertex and perform a breadth first layering Use [Bandelt et al, 2010] for ordering layers

slide-50
SLIDE 50

Squaregraphs

Every bounded face is a 4-cycle and every interior vertex has at least 4 neighbors Again pick a vertex and perform a breadth first layering Use [Bandelt et al, 2010] for ordering layers

slide-51
SLIDE 51

Squaregraphs

Every bounded face is a 4-cycle and every interior vertex has at least 4 neighbors Again pick a vertex and perform a breadth first layering Use [Bandelt et al, 2010] for ordering layers

slide-52
SLIDE 52

Squaregraphs

Every bounded face is a 4-cycle and every interior vertex has at least 4 neighbors Again pick a vertex and perform a breadth first layering Use [Bandelt et al, 2010] for ordering layers

slide-53
SLIDE 53

Squaregraphs

Every bounded face is a 4-cycle and every interior vertex has at least 4 neighbors Again pick a vertex and perform a breadth first layering Use [Bandelt et al, 2010] for ordering layers

slide-54
SLIDE 54

Dual graphs of x-monotone curves

where each curves projection covers the entire x-axis

slide-55
SLIDE 55

Dual graphs of x-monotone curves

where each curves projection covers the entire x-axis

slide-56
SLIDE 56

Dual graphs of x-monotone curves

where each curves projection covers the entire x-axis

slide-57
SLIDE 57

Dual graphs of x-monotone curves

where each curves projection covers the entire x-axis

slide-58
SLIDE 58

Dual graphs of x-monotone curves

where each curves projection covers the entire x-axis

slide-59
SLIDE 59

Computing the track number for a graph is NP-hard Recognizing 3-track graphs is NP-complete

  • holds for larger track number

3-track layouts for special graph classes

  • Bipartite outerplanar graphs
  • Squaregraphs
  • Dual graph of x-monotone curves that cover the x-axis

Some common FPT approaches do not work

Summary Open questions

Is computing track number FPT or W[1]-hard?

slide-60
SLIDE 60

Thank you!

slide-61
SLIDE 61

FPT Results Summary

  • 1. Courcelle’s Theorem cannot be applied

Find a family of graphs that are not finite state

  • 2. 2-core kernelization for k-almost-tree will not work

Found pairs of graphs with the same 2-core and different track number

  • 3. Track number is non-uniformly FPT in tree depth

Using forbidden subgraph testing