Parameterized Edge-Hamiltonicity Valia Mitsou, JST ERATO Joint - - PowerPoint PPT Presentation

parameterized edge hamiltonicity
SMART_READER_LITE
LIVE PREVIEW

Parameterized Edge-Hamiltonicity Valia Mitsou, JST ERATO Joint - - PowerPoint PPT Presentation

Parameterized Edge-Hamiltonicity Valia Mitsou, JST ERATO Joint with: Michael Lampis, Kazuhisa Makino, Yushi Uno. Osaka RIMS, Kyoto Prefecture University University Edge-Hamiltonian Path Edge-Hamiltonian Path 1 2 Ordering of the


slide-1
SLIDE 1

Parameterized Edge-Hamiltonicity

Valia Mitsou, JST ERATO

slide-2
SLIDE 2

Michael Lampis, Kazuhisa Makino, Yushi Uno. RIMS, Kyoto University Osaka Prefecture University Joint with:

slide-3
SLIDE 3

1

Edge-Hamiltonian Path

Edge-Hamiltonian Path “Ordering of the edges such that consecutive edges share a common vertex.”

2 3 4 5

1/24

slide-4
SLIDE 4

1

Edge-Hamiltonian Path

Edge-Hamiltonian Path “Ordering of the edges such that consecutive edges share a common vertex.”

2 3 4 5 Edge-Hamiltonian Path: 14,

1/24

slide-5
SLIDE 5

4

Edge-Hamiltonian Path

Edge-Hamiltonian Path “Ordering of the edges such that consecutive edges share a common vertex.”

1 2 3 5 Edge-Hamiltonian Path: 14, 42,

1/24

slide-6
SLIDE 6

Edge-Hamiltonian Path

Edge-Hamiltonian Path “Ordering of the edges such that consecutive edges share a common vertex.”

1 2 3 4 5 Edge-Hamiltonian Path: 14, 42, 25,

1/24

slide-7
SLIDE 7

Edge-Hamiltonian Path

Edge-Hamiltonian Path “Ordering of the edges such that consecutive edges share a common vertex.”

1 2 3 4 5 Edge-Hamiltonian Path: 14, 42, 25, 51,

1/24

slide-8
SLIDE 8

Edge-Hamiltonian Path

Edge-Hamiltonian Path “Ordering of the edges such that consecutive edges share a common vertex.”

1 2 3 4 5 Edge-Hamiltonian Path: 14, 42, 25, 51, 53,

1/24

slide-9
SLIDE 9

Edge-Hamiltonian Path

Edge-Hamiltonian Path “Ordering of the edges such that consecutive edges share a common vertex.”

1 2 3 4 5 Edge-Hamiltonian Path: 14, 42, 25, 51, 53, 34,

1/24

slide-10
SLIDE 10

Edge-Hamiltonian Path

Edge-Hamiltonian Path “Ordering of the edges such that consecutive edges share a common vertex.”

1 2 3 4 5 Edge-Hamiltonian Path: 14, 42, 25, 51, 53, 34, 32

1/24

slide-11
SLIDE 11

1 2 3 4 5

24 15 25 14 35 23 34

Edge-Hamiltonian Path

Edge-Hamiltonian Path: 14, 42, 25, 51, 53, 34, 32

Edge-Hamiltonian Path is like Hamiltonian Path

  • n Line Graphs.

2/24

slide-12
SLIDE 12

1 2 3 4 5

24 15 25 14 35 23 34

Edge-Hamiltonian Path

Edge-Hamiltonian Path: 14, 42, 25, 51, 53, 34, 32

Edge-Hamiltonian Path is like Hamiltonian Path

  • n Line Graphs.

2/24

slide-13
SLIDE 13

1 2 3 4 5

Edge-Hamiltonian Path as Dominating Eulerian Subgraph

Harary & Nash-Williams (1965): Edge-Hamiltonian Path is equivalent with Dominating Eulerian Subgraph.

Dominating Eulerian Subgraph “Find a connected subgraph G'

  • f G, st:
  • 1. G' is Eulerian;
  • 2. All remaining edges of G are

covered by a vertex in G'.”

3/24

slide-14
SLIDE 14

1 2 3 4 5

Edge-Hamiltonian Path as Dominating Eulerian Subgraph

Eulerian path: 53, 34

Dominating Eulerian Subgraph “Find a connected subgraph G'

  • f G, st:
  • 1. G' is Eulerian;
  • 2. All remaining edges of G are

covered by a vertex in G'.”

3/24

slide-15
SLIDE 15

1 2 3 4

5

Edge-Hamiltonian Path as Dominating Eulerian Subgraph

Eulerian path: 53, 34 Edge-Hamiltonian Path:

Dominating Eulerian Subgraph “Find a connected subgraph G'

  • f G, st:
  • 1. G' is Eulerian;
  • 2. All remaining edges of G are

covered by a vertex in G'.”

3/24

slide-16
SLIDE 16

1 2 3 4

5

Edge-Hamiltonian Path as Dominating Eulerian Subgraph

Eulerian path: 53, 34 Edge-Hamiltonian Path: 51

Dominating Eulerian Subgraph “Find a connected subgraph G'

  • f G, st:
  • 1. G' is Eulerian;
  • 2. All remaining edges of G are

covered by a vertex in G'.”

3/24

slide-17
SLIDE 17

1 2 3 4

5

Edge-Hamiltonian Path as Dominating Eulerian Subgraph

Eulerian path: 53, 34 Edge-Hamiltonian Path: 51, 52

Dominating Eulerian Subgraph “Find a connected subgraph G'

  • f G, st:
  • 1. G' is Eulerian;
  • 2. All remaining edges of G are

covered by a vertex in G'.”

3/24

slide-18
SLIDE 18

1 2

3

4 5

Edge-Hamiltonian Path as Dominating Eulerian Subgraph

Eulerian path: 53, 34 Edge-Hamiltonian Path: 51, 52, 53

Dominating Eulerian Subgraph “Find a connected subgraph G'

  • f G, st:
  • 1. G' is Eulerian;
  • 2. All remaining edges of G are

covered by a vertex in G'.”

3/24

slide-19
SLIDE 19

1 2

3

4 5

Edge-Hamiltonian Path as Dominating Eulerian Subgraph

Eulerian path: 53, 34 Edge-Hamiltonian Path: 51, 52, 53, 32

Dominating Eulerian Subgraph “Find a connected subgraph G'

  • f G, st:
  • 1. G' is Eulerian;
  • 2. All remaining edges of G are

covered by a vertex in G'.”

3/24

slide-20
SLIDE 20

1 2 3

4

5

Edge-Hamiltonian Path as Dominating Eulerian Subgraph

Eulerian path: 53, 34 Edge-Hamiltonian Path: 51, 52, 53, 32, 34

Dominating Eulerian Subgraph “Find a connected subgraph G'

  • f G, st:
  • 1. G' is Eulerian;
  • 2. All remaining edges of G are

covered by a vertex in G'.”

3/24

slide-21
SLIDE 21

1 2 3

4

5

Edge-Hamiltonian Path as Dominating Eulerian Subgraph

Eulerian path: 53, 34 Edge-Hamiltonian Path: 51, 52, 53, 32, 34, 41

Dominating Eulerian Subgraph “Find a connected subgraph G'

  • f G, st:
  • 1. G' is Eulerian;
  • 2. All remaining edges of G are

covered by a vertex in G'.”

3/24

slide-22
SLIDE 22

1 2 3

4

5

Edge-Hamiltonian Path as Dominating Eulerian Subgraph

Eulerian path: 53, 34 Edge-Hamiltonian Path: 51, 52, 53, 32, 34, 41, 42

Dominating Eulerian Subgraph “Find a connected subgraph G'

  • f G, st:
  • 1. G' is Eulerian;
  • 2. All remaining edges of G are

covered by a vertex in G'.”

3/24

slide-23
SLIDE 23

EHP – related work

EHP is NP-Complete (Bertossi 1981);

– NP-Complete even on bipartite graphs (Lai and Wei

1993) or on graphs with maximum degree 3 (Ryjacek et al. 2011). Demaine et. al. 2014: EHP on bipartite graphs parameterized by the size of the smaller part is in XP. Motivation: UNO game.

4/24

slide-24
SLIDE 24

Solitaire UNO as Hamiltonicity

Deck of cards

  • c colors;
  • b numbers.

Matching rule: Cards agree either in number or in color.

➔ Given m cards, discard them

  • ne by one, following the

matching rule.

5/24

slide-25
SLIDE 25

Solitaire UNO as Hamiltonicity

Deck of cards

  • c colors;
  • b numbers.

Matching rule: Cards agree either in number or in color.

➔ Given m cards, discard them

  • ne by one, following the

matching rule.

5/24

slide-26
SLIDE 26

g b r y 2 3 4 5

Colors Numbers

Solitaire UNO as Edge-Hamiltonicity

6/24

slide-27
SLIDE 27

g b r y 2 3 4 5

Colors Numbers

Solitaire UNO as Edge-Hamiltonicity

Solution: 2, 5, 5, 5, 4, 2, 2, 3, 4, 4

6/24

slide-28
SLIDE 28

EHP – related work

EHP is NP-Complete (Bertossi 1981);

– NP-Complete even on bipartite graphs (Lai and Wei

1993) or on graphs with maximum degree 3 (Ryjacek et al. 2011). Demaine et. al. 2014: EHP on bipartite graphs parameterized by the size of the smaller part is in XP.

  • Question: Is EHP on bipartite graphs FPT?

7/24

slide-29
SLIDE 29

Our Results

  • EHP parameterized by size of a vertex cover admits a

cubic kernel;

– (Independently shown by Dei et. al. in FUN 2014)

  • EHP on arbitrary hypergraphs parameterized by size
  • f a hitting set is FPT;
  • EHP parameterized by treewidth or cliquewidth is FPT.

– (Vertex HP is FPT for tw but W-hard for cw.) – Invoke theorem by Gursky & Wanke (2000): Graphs of

bounded cw and no large bi-cliques have bounded tw.

8/24

slide-30
SLIDE 30

Bipartite Graphs (one small part)

Colors (c) Numbers (b)

g b r y 1 2 3 4 5 6 7 8 9 IS IS

9/24

slide-31
SLIDE 31

Graphs of small Vertex Cover

Colors (c) Numbers (b)

g b r y 1 2 3 4 5 6 7 8 9 IS

10/24

slide-32
SLIDE 32

Kernelization algorithms

Given an instance of the problem, we construct (in polynomial time) an equivalent new instance with size that depends only on the parameter.

11/24

slide-33
SLIDE 33

EHP in bipartite graphs with one small part admits a cubic kernel

Given an instance of EHP with c colors and b numbers, we construct (in polynomial time) an equivalent new instance where:

– For each color, there will be at most O(c2) numbers

  • f that color.

– Thus, there will be at most O(c3) numbers.

12/24

slide-34
SLIDE 34

EHP in bipartite graphs with one small part admits a cubic kernel

In an EHP, each color-group appears at most c times. SOL: 1 5 5 3 … 2 8 8 7

13/24

slide-35
SLIDE 35

EHP in bipartite graphs with one small part admits a cubic kernel

In an EHP, each color-group appears at most c times. SOL':1 5 8 2 … 3 5 8 7

13/24

slide-36
SLIDE 36

EHP in bipartite graphs with one small part admits a cubic kernel

In an EHP, each color-group appears at most c times. SOL': … … …

At most c At most c-1

14/24

slide-37
SLIDE 37

EHP in bipartite graphs with one small part admits a cubic kernel

Intuition: EHP has a small backbone, which we need to identify. All other edges can move freely in and out of the EHP. SOL': … … …

At most 2c 5

15/24

slide-38
SLIDE 38

EHP in bipartite graphs with one small part admits a cubic kernel

Intuition: EHP has a small backbone, which we need to identify. All other edges can move freely in and out of the EHP. SOL': … … …

At most 2c

15/24

slide-39
SLIDE 39

EHP in bipartite graphs with one small part admits a cubic kernel

Intuition: EHP has a small backbone, which we need to identify. All other edges can move freely in and out of the EHP. SOL': … … …

At most 2c 5

15/24

slide-40
SLIDE 40

EHP in bipartite graphs with one small part admits a cubic kernel

b Blue numbers > 4c2 colors

16/24

slide-41
SLIDE 41

EHP in bipartite graphs with one small part admits a cubic kernel

b Blue numbers > 4c2 S

S m a l l

  • v

e r l a p

N(S) g

≤ 4c

colors

16/24

slide-42
SLIDE 42

EHP in bipartite graphs with one small part admits a cubic kernel

b Blue numbers > 4c2 S

S m a l l

  • v

e r l a p

N(S) 7 colors

16/24

slide-43
SLIDE 43

EHP in bipartite graphs with one small part admits a cubic kernel

b Blue numbers > 4c2 S

S m a l l

  • v

e r l a p

N(S) 7 colors

Graph that contains 7 has an EHP SOL Graph that doesn't contain 7 has an EHP SOL'.

16/24

slide-44
SLIDE 44

EHP in bipartite graphs with one small part admits a cubic kernel

b Blue numbers ≥ 4c2 S

S m a l l

  • v

e r l a p

N(S) 7

SOL':

At most c

colors

17/24

slide-45
SLIDE 45

EHP in bipartite graphs with one small part admits a cubic kernel

b Blue numbers ≥ 4c2 S

S m a l l

  • v

e r l a p

N(S) 7

SOL': 7

At most c

colors

17/24

slide-46
SLIDE 46

EHP in bipartite graphs with one small part admits a cubic kernel

b Blue numbers > 4c2 S

S m a l l

  • v

e r l a p

N(S) 7

SOL: … 7 …

colors

18/24

slide-47
SLIDE 47

EHP in bipartite graphs with one small part admits a cubic kernel

b Blue numbers S

S m a l l

  • v

e r l a p

N(S) 7

SOL: … 4 7 9 …

colors

18/24

slide-48
SLIDE 48

EHP in bipartite graphs with one small part admits a cubic kernel

b Blue numbers S

S m a l l

  • v

e r l a p

N(S)

SOL': … 4 7 9 …

colors

18/24

slide-49
SLIDE 49

EHP in bipartite graphs with one small part admits a cubic kernel

b Blue numbers S

S m a l l

  • v

e r l a p

N(S) 7

SOL: … 4 7 7 …

colors

18/24

slide-50
SLIDE 50

EHP in bipartite graphs with one small part admits a cubic kernel

b Blue numbers S

S m a l l

  • v

e r l a p

N(S)

> 4c

7

SOL: … 4 7 7 …

y colors

18/24

slide-51
SLIDE 51

EHP in bipartite graphs with one small part admits a cubic kernel

b Blue numbers S

S m a l l

  • v

e r l a p

N(S)

> 4c

7

SOL: … 4 7 7 …

y

At most 2c At most 2c

colors

18/24

slide-52
SLIDE 52

EHP in bipartite graphs with one small part admits a cubic kernel

b Blue numbers S

S m a l l

  • v

e r l a p

N(S) 7 2

SOL: … 4 7 7 … 2 2

y colors

18/24

slide-53
SLIDE 53

EHP in bipartite graphs with one small part admits a cubic kernel

b Blue numbers S

S m a l l

  • v

e r l a p

N(S) 7 2

SOL: … 4 7 7 … 2 2

y colors

18/24

slide-54
SLIDE 54

EHP in bipartite graphs with one small part admits a cubic kernel

b Blue numbers S

S m a l l

  • v

e r l a p

N(S)

SOL': … 4 2 2 … 7

colors 7 y

18/24

slide-55
SLIDE 55

EHP in bipartite graphs with one small part admits a cubic kernel

b Blue numbers S

S m a l l

  • v

e r l a p

N(S)

Ø

colors

19/24

slide-56
SLIDE 56

EHP in bipartite graphs with one small part admits a cubic kernel

b

S m a l l

  • v

e r l a p

… Blue numbers ≤ 4c2 t p g colors

19/24

slide-57
SLIDE 57

EHP on r-uniform hypergraphs

Colors (c)

  • Attr. A (b1)

g b r y 1 2 3 4 5 6 7 8 9

  • Attr. B (b2)

1 2 3 4 5 6 7 8 9

  • Attr. C (b3)

1 2 3 4 5 6 7 8 9

20/24

slide-58
SLIDE 58

EHP on r-uniform hypergraphs

Colors (c)

  • Attr. A (b1)

g b r y 1 2 3 4 5 6 7 8 9

  • Attr. B (b2)

1 2 3 4 5 6 7 8 9

  • Attr. C (b3)

1 2 3 4 5 6 7 8 9

20/24

slide-59
SLIDE 59

EHP on arbitrary hypergraphs with small hitting set

Colors (c)

  • Attr. A (b1)

g b r y 1 2 3 4 5 6 7 8 9

  • Attr. B (b2)

1 2 3 4 5 6 7 8 9

  • Attr. C (b3)

1 2 3 4 5 6 7 8 9

21/24

slide-60
SLIDE 60

EHP on arbitrary hypergraphs with small hitting set

Colors (c)

  • Attr. A (b1)

g b r y 1 2 3 4 5 6 7 8 9

  • Attr. B (b2)

1 2 3 4 5 6 7 8 9

  • Attr. C (b3)

1 2 3 4 5 6 7 8 9

21/24

slide-61
SLIDE 61

EHP on h-graphs parameterized by Hitting Set is FPT

Idea:

– Few backbone hyperedges. – Color-coding helps identify them.

Bonus: Vertex HP parameterized by the complement chromatic number is FPT.

22/24

slide-62
SLIDE 62

EHP parameterized by tw is FPT

Dominating Eulerian Subgraph: ∃ V'⊂V, E'⊂E s.t

– V' is a vertex cover of G(V,E); – G'(V',E') is connected; – G' is Eulerian.

All the above properties can be expressed in CMSO2.

  • Dominating Eulerian Subgraph (and Edge-Hamiltonian

Path) is FPT when parameterized by tw.

23/24

slide-63
SLIDE 63

EHP parameterized by cw is FPT

Theorem (Gursky & Wanke 2000): If G has cw k and does not contain Kt,t as a subgraph, then G has tw at most 3kt.

24/24

slide-64
SLIDE 64

EHP parameterized by cw is FPT

  • G has Eulerian Dominating Subgraph iff G' does;
  • If cw(G) = k, then cw(G') = k+2.

24/24

slide-65
SLIDE 65

Conclusions

Edge-Hamiltonian Path is FPT for the following parameters:

  • Vertex Cover (it even admits a cubic kernel)
  • Hitting Set
  • Treewidth
  • Cliquewidth
slide-66
SLIDE 66

M M e e r r c c i i b b e e a a u u c c

  • u

u p p ! !