The Firefighter Problem on Trees David Ellison RMIT School of - - PowerPoint PPT Presentation

the firefighter problem on trees
SMART_READER_LITE
LIVE PREVIEW

The Firefighter Problem on Trees David Ellison RMIT School of - - PowerPoint PPT Presentation

The Firefighter Problem on Trees David Ellison RMIT School of Science Co-authors: Pierre Coupechoux, Marc Demange, Bertrand Jouve Example 1 Example 1 Example 1 Example 1 Example 1 Example 2 Example 2 Example 2 Example 2 Example 2


slide-1
SLIDE 1

The Firefighter Problem on Trees

David Ellison

RMIT School of Science

Co-authors: Pierre Coupechoux, Marc Demange, Bertrand Jouve

slide-2
SLIDE 2

Example 1

slide-3
SLIDE 3

Example 1

slide-4
SLIDE 4

Example 1

slide-5
SLIDE 5

Example 1

slide-6
SLIDE 6

Example 1

slide-7
SLIDE 7

Example 2

slide-8
SLIDE 8

Example 2

slide-9
SLIDE 9

Example 2

slide-10
SLIDE 10

Example 2

slide-11
SLIDE 11

Example 2

slide-12
SLIDE 12

Example 2

slide-13
SLIDE 13

Example 2

slide-14
SLIDE 14

Example 2

slide-15
SLIDE 15

Example 2

slide-16
SLIDE 16

Example 2

slide-17
SLIDE 17

Example 2

slide-18
SLIDE 18

Example 2

slide-19
SLIDE 19

Example 2

slide-20
SLIDE 20

Example 2

slide-21
SLIDE 21

Example 2

slide-22
SLIDE 22

Example 2

slide-23
SLIDE 23

Example 2

slide-24
SLIDE 24

Example 2

1/4 1/4 1/4 1/4

slide-25
SLIDE 25

Example 2

1/4 1/4 1/4 1/4 1/8 1/8 1/8 1/8 1/8 1/8 1/8 1/8

slide-26
SLIDE 26

An instance of Firefighter or Fractional Firefighter is given by:

◮ a graph G ◮ a root r which is initially on fire ◮ a sequence of firefighters (fi).

If G is finite, the objective is to save as many vertices as possible. If G is infinite, the objective is to contain the fire.

slide-27
SLIDE 27

Fractional Version

Notations:

◮ pi(v) = total amount of protection placed on v at turn i ◮ bi(v) = amount of v burning at turn i

The fire spreads according to the following rule: bi(v) = max{ max

v′∈N(v) bi−1(v′) − pi(v), bi−1(v)}

slide-28
SLIDE 28

Online Version

In the online version of the Firefighter problem, the firefighter sequence (fi) is revealed over time. More precisely, the value of fi is revealed at turn i. The performance of an online algorithm is measured by comparison with the optimal offline algorithm.

slide-29
SLIDE 29

Firefighter Overview

An instance is given by (G, r, (fi)): 1) If G is finite:

◮ Integer vs Fractional performances ◮ Online vs Offline performances

Special case: finite trees 2) If G is infinite

◮ Decision problem (integer, fractional, online, offline) ◮ Separating problem

Special cases: infinite grids, infinite trees

slide-30
SLIDE 30

Example 3

slide-31
SLIDE 31

Example 3

slide-32
SLIDE 32

Example 3

slide-33
SLIDE 33

Example 3

slide-34
SLIDE 34

Example 3

slide-35
SLIDE 35

Greedy Algorithm on trees

The greedy algorithm on trees protects at each turn the vertices corresponding to the largest branches.

Theorem

The Greedy algorithm is 1

2-competitive for both Firefighter and

Fractional Firefighter. We improved a previously known result in several ways:

◮ Placed in the online context ◮ Generalised to any firefighter sequence ◮ Generalised to Fractional Firefighter

slide-36
SLIDE 36

Idea of Proof: Integral case

◮ Consider a random online algorithm which protects a certain

set of vertices.

◮ Split these vertices according to whether or not they were

saved by the greedy algorithm.

◮ Both parts will give a number of saved vertices at most equal

to the performance of the greedy algorithm.

slide-37
SLIDE 37

Idea of Proof: Fractional case

◮ Let x(v) be the amount of protection placed by the greedy on

each vertex v.

◮ Consider a random online algorithm which places an amount

  • f protection y(v) on each vertex v.

◮ Let Px(v) = v′⊳v x(v′) and Py(v) = v′⊳v y(v′) be the

amounts of protection received from the ancestors.

◮ We split y(v) into two quantities: y(v) = g(v) + h(v), where

g(v) is the part of y(v) already protected by the greedy through the ancestors of v, while h(v) is the part of y(v) which, when added on top of Py(v), exceeds Px(v). g(v) = min{y(v), max{0, Px(v) − Py(v)}}, h(v) = max{0, y(v) + min{0, Py(v) − Px(v)}}.

slide-38
SLIDE 38

The Greedy Algorithm can be quite bad

r s . . . n c . . . n + 1

slide-39
SLIDE 39

By how much can it be improved?

r s . . . n c . . . ⌊ϕn⌋ For large values of n, the best online algorithm is 1

ϕ-competitive,

where ϕ is the golden ratio and 1

ϕ ≈ 0.61803398875.

slide-40
SLIDE 40

Improving on the Greedy Algorithm

When few firefighters are available, there is a better online algorithm than the greedy.

Theorem

For each instance of Firefighter on trees with at most three firefighters, there is a 1

ϕ-competitive online algorithm.

Unfortunately, this is no longer the case for four firefighters.

slide-41
SLIDE 41

Improving on the Greedy Algorithm

r x y . . . l vertices . . . . . . . . . . . . . . . m vertices k chains With k = 4, l = 901 and m = 1001, there is no 1

ϕ-competitive

  • nline algorithm for four firefighters.
slide-42
SLIDE 42

Separating firefigher sequences

Given two firefighter sequences (fi) and (f ′

i ), we say that (fi) is

weaker than (f ′

i ) if the two sequences are not equal and for all k,

k

i=1 fi ≤ k i=1 f ′ i .

Lemma

If (fi) can contain the fire on G, so can (f ′

i ).

Separating Problem: If (fi) is weaker than (f ′

i ), is there an infinite graph that separates

them?

slide-43
SLIDE 43

Answer: not always!

(fi) = (1, 0, 0, . . .) and (f ′

i ) = (1.5, 0, 0, . . .) are not separable!!

slide-44
SLIDE 44

Spherically symmetric Trees

The i-th level of a rooted tree T, denoted by Ti, is the set of vertices at distance i from the root. A tree is said to be spherically symmetric if all vertices of the same level have the same degree. A spherically symmetric tree is defined by a sequence (ai) of excess degrees.

slide-45
SLIDE 45

The Targeting Problem

Given 0 < A < B and a sequence (fi) of positive numbers, is there an N and a sequence (ai) of positive integers such that A ≤

N

  • i=1

fi a1a2 . . . ai < B ?

slide-46
SLIDE 46
slide-47
SLIDE 47
slide-48
SLIDE 48
slide-49
SLIDE 49

Separating Problem

Theorem

Given (fi) < (f ′

i ), let k be the smallest integer such that fk = f ′ k

and let ǫ = f ′

k − fk. If there is an N such that N k+2 fi ≥ 2

2 ǫ

  • r

|{k + 2 ≤ i ≤ N|fi ≥ 2}| > 1 − log2ǫ, then there is a spherically symmetric tree which separates (fi) and (f ′

i ) in N turns.

Remark: In the case where |{k + 2 ≤ i ≤ N|fi ≥ 2}| > 1 − log2ǫ, the sequence (ai) is entirely created by a greedy algorithm which selects the minimum value of ai such that the fire is not extinguished by (fi).

slide-50
SLIDE 50

Decision Problem for Infinite Graphs

Theorem

If T is a tree without leaves, fk → +∞ and

k

i=1 fk

|Ti|

0, then the instance (T, r, (fi)) is winning for the firefighter.

Theorem

If an infinite tree T has linear growth and if (fi) is stronger than a non-zero periodic sequence, then the fire can be contained in the

  • nline game.
slide-51
SLIDE 51

Decision Problem for Infinite Graphs

Theorem

Let (ti) ∈ N∗N∗ and (fi) ∈ R+N∗ be such that (ti) is non-decreasing and tends towards +∞. Then, fi

ti converges if and only if there

exists a spherically symmetric tree T rooted in r such that:

◮ ∃N : ∀i ≥ N, ti 2 ≤ |Ti| ≤ ti ◮ the instance (T, r, (fi)) is losing for (Fractional)

Firefighter.

Conjecture

If

fi |Ti| diverges, then the fire can be contained.

slide-52
SLIDE 52

Thank you for your attention.