Flood-filling Games on Graphs Kitty Meeks Alex Scott Mathematical - - PowerPoint PPT Presentation

flood filling games on graphs
SMART_READER_LITE
LIVE PREVIEW

Flood-filling Games on Graphs Kitty Meeks Alex Scott Mathematical - - PowerPoint PPT Presentation

Flood-filling Games on Graphs Kitty Meeks Alex Scott Mathematical Institute University of Oxford 23rd British Combinatorial Conference, Exeter, July 2011 The original Flood-It game The original Flood-It game The original Flood-It game The


slide-1
SLIDE 1

Flood-filling Games on Graphs

Kitty Meeks Alex Scott

Mathematical Institute University of Oxford

23rd British Combinatorial Conference, Exeter, July 2011

slide-2
SLIDE 2

The original Flood-It game

slide-3
SLIDE 3

The original Flood-It game

slide-4
SLIDE 4

The original Flood-It game

slide-5
SLIDE 5

The original Flood-It game

slide-6
SLIDE 6

The original Flood-It game

slide-7
SLIDE 7

The original Flood-It game

slide-8
SLIDE 8

The original Flood-It game

slide-9
SLIDE 9

The original Flood-It game

slide-10
SLIDE 10

Generalising to graphs

slide-11
SLIDE 11

Generalising to graphs

slide-12
SLIDE 12

Generalising to graphs

slide-13
SLIDE 13

Generalising to graphs

slide-14
SLIDE 14

Generalising to graphs

slide-15
SLIDE 15

Generalising to graphs

slide-16
SLIDE 16

Generalising to graphs

slide-17
SLIDE 17

Generalising to graphs

slide-18
SLIDE 18

Generalising to graphs

slide-19
SLIDE 19

The “Free” Variant

slide-20
SLIDE 20

The “Free” Variant

slide-21
SLIDE 21

The “Free” Variant

slide-22
SLIDE 22

The “Free” Variant

slide-23
SLIDE 23

The “Free” Variant

slide-24
SLIDE 24

The “Free” Variant

slide-25
SLIDE 25

The “Free” Variant

slide-26
SLIDE 26

The “Free” Variant

slide-27
SLIDE 27

The “Free” Variant

slide-28
SLIDE 28

The “Free” Variant

slide-29
SLIDE 29

The “Free” Variant

slide-30
SLIDE 30

The “Free” Variant

slide-31
SLIDE 31

Outline

◮ Problems considered

slide-32
SLIDE 32

Outline

◮ Problems considered ◮ Background

slide-33
SLIDE 33

Outline

◮ Problems considered ◮ Background ◮ Connecting pairs of vertices

slide-34
SLIDE 34

Outline

◮ Problems considered ◮ Background ◮ Connecting pairs of vertices ◮ Rectangular k × n boards of fixed height

slide-35
SLIDE 35

Outline

◮ Problems considered ◮ Background ◮ Connecting pairs of vertices ◮ Rectangular k × n boards of fixed height ◮ Open Problems

slide-36
SLIDE 36

Problems considered: fixed version

Definition

Given a coloured connected graph G and a vertex v ∈ V , we define m(v)(G) to be the minimum number of moves required to make G monochromatic, if we always play at the vertex v.

slide-37
SLIDE 37

Problems considered: fixed version

Definition

Given a coloured connected graph G and a vertex v ∈ V , we define m(v)(G) to be the minimum number of moves required to make G monochromatic, if we always play at the vertex v. Fixed Flood It Given a coloured connected graph G and a vertex v ∈ V (G), what is m(v)(G)? The number of colours may be unbounded.

slide-38
SLIDE 38

Problems considered: fixed version

Definition

Given a coloured connected graph G and a vertex v ∈ V , we define m(v)(G) to be the minimum number of moves required to make G monochromatic, if we always play at the vertex v. Fixed Flood It Given a coloured connected graph G and a vertex v ∈ V (G), what is m(v)(G)? The number of colours may be unbounded. c-Fixed Flood It The same as Fixed Flood It, except that only colours from some fixed set of size c are used.

slide-39
SLIDE 39

Problems considered: free version

Definition

Given a coloured connected graph, we define m(G) to be the minimum number of moves required to make G monochromatic if, at each move, we can choose to play at any vertex in G. Free Flood It Given a coloured connected graph G, what is m(G)? The number of colours may be unbounded. c-Free Flood It The same as Free Flood It, except that only colours from some fixed set of size c are used.

slide-40
SLIDE 40

Background

Theorem (Arthur, Clifford, Jalsenius, Montanaro, Sach 2010)

3-Fixed Flood It and 3-Free Flood It are NP-hard on n × n grids (and the decision versions are NP-complete).

slide-41
SLIDE 41

Background

Theorem (Arthur, Clifford, Jalsenius, Montanaro, Sach 2010)

3-Fixed Flood It and 3-Free Flood It are NP-hard on n × n grids (and the decision versions are NP-complete).

Theorem (Lagoutte 2010)

3-Fixed Flood It and 3-Free Flood It are NP-hard on trees.

slide-42
SLIDE 42

Background

Theorem (Arthur, Clifford, Jalsenius, Montanaro, Sach 2010)

3-Fixed Flood It and 3-Free Flood It are NP-hard on n × n grids (and the decision versions are NP-complete).

Theorem (Lagoutte 2010)

3-Fixed Flood It and 3-Free Flood It are NP-hard on trees.

◮ Both proved by means of a reduction from Shortest

Common Supersequence (SCS).

slide-43
SLIDE 43

Connecting pairs of vertices

Definition

Given a coloured connected graph G and u, v ∈ V (G), we define m(u, v) to be the minimum number of moves we must play in G (in the free variant) to link u and v.

slide-44
SLIDE 44

Connecting pairs of vertices

Definition

Given a coloured connected graph G and u, v ∈ V (G), we define m(u, v) to be the minimum number of moves we must play in G (in the free variant) to link u and v.

Lemma

Let G be a connected coloured graph, and let u, v ∈ V (G). Then m(u, v) is equal to the minimum, taken over all u-v paths P, of the number of moves required to flood the path P.

slide-45
SLIDE 45

Connecting pairs of vertices

Definition

Given a coloured connected graph G and u, v ∈ V (G), we define m(u, v) to be the minimum number of moves we must play in G (in the free variant) to link u and v.

Lemma

Let G be a connected coloured graph, and let u, v ∈ V (G). Then m(u, v) is equal to the minimum, taken over all u-v paths P, of the number of moves required to flood the path P.

Theorem (M., Scott 2011)

Let G = (V , E) be a connected graph, coloured with c colours. Then we can compute the number of moves required to link every pair (u, v) ∈ V (2) in time O(|V |3|E||C|2).

slide-46
SLIDE 46

Applications: Free Flood It on paths

Corollary

For any path P, Free Flood It can be solved in time O(|P|6), and c-Free Flood It can be solved in time O(|P|4).

slide-47
SLIDE 47

Applications: approximating c-Free Flood It on k × n boards

Corollary

For any fixed k, we can compute a constant additive approximation to c-Free Flood It, restricted to k × n boards, in time O(n4).

slide-48
SLIDE 48

Applications: approximating c-Free Flood It on k × n boards

Let B be the coloured graph corresponding to a k × n board. Then m(u, v) ≤ m(B) ≤ m(u, v) + c(k − 1).

u v

Moves:

slide-49
SLIDE 49

Applications: approximating c-Free Flood It on k × n boards

Let B be the coloured graph corresponding to a k × n board. Then m(u, v) ≤ m(B) ≤ m(u, v) + c(k − 1).

u v

Moves: m(u, v)

slide-50
SLIDE 50

Applications: approximating c-Free Flood It on k × n boards

Let B be the coloured graph corresponding to a k × n board. Then m(u, v) ≤ m(B) ≤ m(u, v) + c(k − 1).

u v

Moves: m(u, v) + c

slide-51
SLIDE 51

Applications: approximating c-Free Flood It on k × n boards

Let B be the coloured graph corresponding to a k × n board. Then m(u, v) ≤ m(B) ≤ m(u, v) + c(k − 1).

u v

Moves: m(u, v) + 2c

slide-52
SLIDE 52

Applications: approximating c-Free Flood It on k × n boards

Let B be the coloured graph corresponding to a k × n board. Then m(u, v) ≤ m(B) ≤ m(u, v) + c(k − 1).

u v

Moves: m(u, v) + 3c

slide-53
SLIDE 53

Applications: approximating c-Free Flood It on k × n boards

Let B be the coloured graph corresponding to a k × n board. Then m(u, v) ≤ m(B) ≤ m(u, v) + c(k − 1).

u v

Moves: m(u, v) + 4c

slide-54
SLIDE 54

Applications: approximating c-Free Flood It on k × n boards

Let B be the coloured graph corresponding to a k × n board. Then m(u, v) ≤ m(B) ≤ m(u, v) + c(k − 1).

u v

Moves: m(u, v) + 5c

slide-55
SLIDE 55

Solving the problems exactly for k × n boards

1 × n 2 × n 3 × n n × n c = 2 c = 3 NP-h c = 4 NP-h c unbounded NP-h

slide-56
SLIDE 56

Solving the problems exactly for k × n boards

1 × n 2 × n 3 × n n × n c = 2 P P P P c = 3 NP-h c = 4 NP-h c unbounded NP-h

slide-57
SLIDE 57

Solving the problems exactly for k × n boards

1 × n 2 × n 3 × n n × n c = 2 P P P P c = 3 P NP-h c = 4 P NP-h c unbounded P NP-h

slide-58
SLIDE 58

3 × n boards

Theorem (M.,Scott 2011)

4-Fixed Flood It and 4-Free Flood It NP-hard on 3 × n boards. Proved by a reduction from SCS.

slide-59
SLIDE 59

3 × n boards

1 × n 2 × n 3 × n n × n c = 2 P P P P c = 3 P ? NP-h c = 4 P NP-h NP-h c unbounded P NP-h NP-h

slide-60
SLIDE 60

2 × n boards

Fixed Free c fixed P c unbounded P

Theorem (Clifford, Jalsenius, Montanaro and Sach 2010)

Fixed Flood It can be solved in time O(n) on 2 × n boards.

slide-61
SLIDE 61

c-Free Flood It on 2 × n boards

Fixed Free c fixed P P c unbounded P

Theorem (M.,Scott 2011)

When restricted to 2 × n boards, c-Free Flood It is fixed parameter tractable, with parameter c.

slide-62
SLIDE 62

c-Free Flood It on 2 × n boards

Fixed Free c fixed P P c unbounded P

Theorem (M.,Scott 2011)

When restricted to 2 × n boards, c-Free Flood It is fixed parameter tractable, with parameter c.

◮ Dynamic programming ◮ Split board into sections and consider the number of moves

required to create a monochromatic path through each section, subject to certain further conditions.

slide-63
SLIDE 63

Free Flood It on 2 × n boards

Fixed Free c fixed P P c unbounded P NP-h

Theorem (M., Scott, 2011)

Free Flood It remains NP-hard when restricted to 2 × n boards.

◮ Reduction from Vertex Cover.

slide-64
SLIDE 64

Open Problems

slide-65
SLIDE 65

Open Problems

◮ Complexity of detemining the number of moves required to

link a given set of k ≥ 3 points, for fixed k.

slide-66
SLIDE 66

Open Problems

◮ Complexity of detemining the number of moves required to

link a given set of k ≥ 3 points, for fixed k.

◮ Complexity of 3-Fixed Flood It and 3-Free Flood It

  • n 3 × n boards.
slide-67
SLIDE 67

Open Problems

◮ Complexity of detemining the number of moves required to

link a given set of k ≥ 3 points, for fixed k.

◮ Complexity of 3-Fixed Flood It and 3-Free Flood It

  • n 3 × n boards.

◮ Conjecture: c-Free Flood It is solvable in polynomial time

  • n subdivisions of any fixed graph H.
slide-68
SLIDE 68

Open Problems

◮ Complexity of detemining the number of moves required to

link a given set of k ≥ 3 points, for fixed k.

◮ Complexity of 3-Fixed Flood It and 3-Free Flood It

  • n 3 × n boards.

◮ Conjecture: c-Free Flood It is solvable in polynomial time

  • n subdivisions of any fixed graph H.

◮ Extremal problems:

◮ What is the worst possible colouring of a k × n board with c

colours?

slide-69
SLIDE 69

Open Problems

◮ Complexity of detemining the number of moves required to

link a given set of k ≥ 3 points, for fixed k.

◮ Complexity of 3-Fixed Flood It and 3-Free Flood It

  • n 3 × n boards.

◮ Conjecture: c-Free Flood It is solvable in polynomial time

  • n subdivisions of any fixed graph H.

◮ Extremal problems:

◮ What is the worst possible colouring of a k × n board with c

colours?

◮ Given a graph G,

  • 1. what is the worst possible colouring with c colours?
  • 2. what is the best possible proper colouring?
slide-70
SLIDE 70

QUESTIONS?