Patrizio Angelini, Giordano Da Lozzo, Giuseppe Di Battista, Fabrizio - - PowerPoint PPT Presentation

patrizio angelini giordano da lozzo giuseppe di battista
SMART_READER_LITE
LIVE PREVIEW

Patrizio Angelini, Giordano Da Lozzo, Giuseppe Di Battista, Fabrizio - - PowerPoint PPT Presentation

Patrizio Angelini, Giordano Da Lozzo, Giuseppe Di Battista, Fabrizio Frati, Maurizio Patrignani, Vincenzo Roselli Graph G = (V,E) Vertices are points Edges are straight-line segments Planar: edges do not cross each other Metamorphosis I -- M.


slide-1
SLIDE 1

Patrizio Angelini, Giordano Da Lozzo, Giuseppe Di Battista, Fabrizio Frati, Maurizio Patrignani, Vincenzo Roselli

slide-2
SLIDE 2
slide-3
SLIDE 3
slide-4
SLIDE 4
slide-5
SLIDE 5
slide-6
SLIDE 6

Graph G = (V,E) Vertices are points Edges are straight-line segments Planar: edges do not cross each other

slide-7
SLIDE 7

Metamorphosis I -- M. C. Escher

slide-8
SLIDE 8

Morphing is a special effect in motion pictures and animations that changes (or morphs) one image or shape into another through a seamless transition. (Wikipedia)

slide-9
SLIDE 9

… changes (or morphs) one planar graph drawing into another through a seamless transition

 Vertices move at uniform speed along straight-line

segments

 Planarity is preserved during the whole morph

(…)

slide-10
SLIDE 10

Some pairs of drawings require several steps The complexity of a morphing algorithm is defined as the number of steps it performs

slide-11
SLIDE 11

Tietze, Rend. Circ. Matematico di Palermo, 38(1):247-304, 1914

We are in the centennial of the Morphing problem!

slide-12
SLIDE 12

Smith, 1917 Veblen, 1917 Alexander, 1923

slide-13
SLIDE 13

Cairns, 1944

A planar morph exists between any two planar drawings of any maximal planar graph (with an exponential number of steps)

slide-14
SLIDE 14

Thomassen, Journal of Combinatorial Theory B, 1983

A planar convex morph exists between any two planar convex drawings of any maximal planar graph, (with an exponential number of steps)

slide-15
SLIDE 15

Aicholzer et al, 2011 Floater, Gotsman, Surazhsky several papers Lubiw Petrick, 2011 Biedl et al., 2006

slide-16
SLIDE 16

Alamdari et al., SODA 2013

A planar morph exists between any two planar drawings of any maximal planar graph, (with a polynomial numer of steps) O(n2) steps for maximal planar O(n4) steps for maximal planar

slide-17
SLIDE 17

Angelini et al., GD 2013 Barrera-Cruz et al., MCDMCG, 2013

slide-18
SLIDE 18

Angelini et al., GD 2013 Barrera-Cruz et al., MCDMCG, 2013

At each morphing step, all the vertices move along the same direction

slide-19
SLIDE 19

Angelini et al., GD 2013 Barrera-Cruz et al., MCDMCG, 2013

At each morphing step, all the vertices move along the same direction Maximal Planar graphs in O(n2) steps Series-parallel graphs in O(n) steps

slide-20
SLIDE 20

 Theorem 1: There exist an algorithm to morph

planar graph drawings in O(n) steps

 Theorem 2: There exist two drawings of a planar

graph (a path) such that morphing one into the

  • ther requires at least Ω(n) steps
slide-21
SLIDE 21

Every planar graph contains at least a vertex of degree at most 5 with no chord between its neighbors By Euler’s formula, |E| <= 3n-6

slide-22
SLIDE 22

Every polygon with at most 5 vertices has at least

  • ne vertex on the boundary of its kernel
slide-23
SLIDE 23

Every polygon with at most 5 vertices has at least

  • ne vertex on the boundary of its kernel
slide-24
SLIDE 24

Contraction of a low-degree vertex

  • n one of its neighbors
slide-25
SLIDE 25

1: Select a vertex v of low degree. It might be contractible

  • n different neighbors

in the two drawings v v

slide-26
SLIDE 26

2: Contract v in both the drawings. We obtain different graphs! v v O(1) O(1)

slide-27
SLIDE 27

3: Remove v and compute a drawing in which the polygon of its neighbors is convex v v O(1) O(1)

slide-28
SLIDE 28

In this drawing, passing from one neighbor to the other is always possible! v v O(1) O(1)

slide-29
SLIDE 29

In this drawing, passing from one neighbor to the other is always possible! v v O(1) O(1)

slide-30
SLIDE 30

In this drawing, passing from one neighbor to the

  • ther is always possible!

v v O(1) O(1) O(1)

slide-31
SLIDE 31

Recursively morph the two contracted drawings to the convex ones in T(n-1) steps

T(n) = 2 T(n-1) + O(1) = O(2n)

v v T(n-1) T(n-1) O(1) O(1) O(1)

slide-32
SLIDE 32

The morph is not to a specific convex drawing! v v

O(n)

T(n-1) O(1) O(1) O(1)

slide-33
SLIDE 33

The morph is not to a specific convex drawing!

T(n) = T(n-1) + O(n) = O(n2)

v v T(n-1) O(1) O(1)

O(n)

O(1)

slide-34
SLIDE 34

The morph is to a (very) specific convex drawing! v v

O(1)

T(n-1) O(1) O(1) O(1)

slide-35
SLIDE 35

The morph is to a (very) specific convex drawing!

T(n) = T(n-1) + O(1) = O(n)

v v T(n-1) O(1) O(1)

O(1)

O(1)

slide-36
SLIDE 36

 Given:

  • a triconnected planar graph G = (V,E)
  • A set L of parallel lines
  • A mapping of the vertices of V to lines of L such that
  • rienting the edges of E according to the order of the lines

in L yields an st-orientation of G

 st-orientation: each face is composed of two oriented paths

 Then, G admits a convex drawing in which each

vertex of V lies on the line of L it is mapped to

 Hong, Nagamochi. J. of Discrete Algorithms, 2010

slide-37
SLIDE 37

 Hong, Nagamochi. J. of Discrete Algorithms, 2010

slide-38
SLIDE 38
slide-39
SLIDE 39
slide-40
SLIDE 40
slide-41
SLIDE 41
slide-42
SLIDE 42
slide-43
SLIDE 43
slide-44
SLIDE 44
slide-45
SLIDE 45
slide-46
SLIDE 46

 A linear number of steps are necessary to morph

  • ne of these drawings into the other
  • There exists an edge that must perform a linear number
  • f complete rotations
  • In a single step, only (a bit less

than) half rotation can be performed

slide-47
SLIDE 47

 All the algorithms produce intermediate drawings

  • n a very large grid
  • What about morphing on a limited-size grid?
  • Can we avoid contractions?

 Can we produce convexity-preserving morphings

with a polynomial number of steps?

 How to morph non-planar graphs?

slide-48
SLIDE 48