SlideShare a Scribd company logo
Treewidth 2: Applications
Saket Saurabh
The Institute of Mathematical Sciences, India

ASPAK 2014, March 3-8
Introduction and definition DONE
Part I: Algorithms for bounded treewidth graphs. DONE
Part II: Graph-theoretic properties of treewidth.
Part III: Applications for general graphs.
Part IV: Algorithm for finding treewidth
Part V: Irrelevant Vertices – Planar Vertex Deletion.
Applications
Algorithms for graphs of bounded treewidth find many
applications, for example in

Graph Minors
Exact Algorithms
Approximation Schemes
Parameterized Algorithms
Kernelization
Databases
CSP’s
Application I: Parameterized Algorithms

Extended Monadic Second Order Logic (EMSO) A logical language
on graphs consisting of the following:
Logical connectives ∧, ∨, →, ¬, =, =
quantifiers ∀, ∃ over vertex/edge variables
predicate adj(u, v ): vertices u and v are adjacent
predicate inc(e, v ): edge e is incident to vertex v
∈, ⊆ for vertex/edge sets
Example: The formula
∃C ⊆ V ∀v ∈ C ∃u1 , u2 ∈ C (u1 = u2 ∧ adj(u1 , v ) ∧ adj(u2 , v )) is
true . . .if graph G (V , E ) has a cycle.
Application I: Parameterized Algorithms

Extended Monadic Second Order Logic (EMSO) A logical language
on graphs consisting of the following:
Logical connectives ∧, ∨, →, ¬, =, =
quantifiers ∀, ∃ over vertex/edge variables
predicate adj(u, v ): vertices u and v are adjacent
predicate inc(e, v ): edge e is incident to vertex v
∈, ⊆ for vertex/edge sets
Example: The formula
∃C ⊆ V ∀v ∈ C ∃u1 , u2 ∈ C (u1 = u2 ∧ adj(u1 , v ) ∧ adj(u2 , v )) is
true . . .if graph G (V , E ) has a cycle.
Application I: Parameterized Algorithms

Extended Monadic Second Order Logic (EMSO) A logical language
on graphs consisting of the following:
Logical connectives ∧, ∨, →, ¬, =, =
quantifiers ∀, ∃ over vertex/edge variables
predicate adj(u, v ): vertices u and v are adjacent
predicate inc(e, v ): edge e is incident to vertex v
∈, ⊆ for vertex/edge sets
Example: The formula
∃C ⊆ V ∀v ∈ C ∃u1 , u2 ∈ C (u1 = u2 ∧ adj(u1 , v ) ∧ adj(u2 , v )) is
true . . .if graph G (V , E ) has a cycle.
Courcelle’s Theorem

Courcelle’s Theorem: If a graph property can be expressed in
EMSO with formula ϕ of size |ϕ|, then for every fixed w ≥ 1, there
is an algorithm running in time f (|ϕ|, w ) · n for testing this
property on graphs having treewidth at most w .
Independent Set, Dominating Set, q Coloring, Max Cut, Odd Cycle
Transversal, Hamiltonian Cycle, Partition into Triangles, Feedback
Vertex Set, Vertex Disjoint Cycle Packing and million other
problems are FPT parameterized by the treewidth.
Courcelle’s Theorem

Courcelle’s Theorem: If a graph property can be expressed in
EMSO with formula ϕ of size |ϕ|, then for every fixed w ≥ 1, there
is an algorithm running in time f (|ϕ|, w ) · n for testing this
property on graphs having treewidth at most w .
Independent Set, Dominating Set, q Coloring, Max Cut, Odd Cycle
Transversal, Hamiltonian Cycle, Partition into Triangles, Feedback
Vertex Set, Vertex Disjoint Cycle Packing and million other
problems are FPT parameterized by the treewidth.
Properties of treewidth

Fact: treewidth ≤ 2 if and only if graph
is subgraph of a series-parallel graph
Properties of treewidth

Fact: treewidth ≤ 2 if and only if graph
is subgraph of a series-parallel graph
Fact: For every k ≥ 2, the treewidth of
the k × k grid is exactly k.
Properties of treewidth

Fact: treewidth ≤ 2 if and only if graph
is subgraph of a series-parallel graph
Fact: For every k ≥ 2, the treewidth of
the k × k grid is exactly k.
Fact: Treewidth does not increase if we delete edges, delete
vertices, or contract edges.
=⇒ If F is a minor of G , then the treewidth of F is at most the
treewidth of G .
Properties of treewidth

Fact: treewidth ≤ 2 if and only if graph
is subgraph of a series-parallel graph
Fact: For every k ≥ 2, the treewidth of
the k × k grid is exactly k.
Fact: Treewidth does not increase if we delete edges, delete
vertices, or contract edges.
=⇒ If F is a minor of G , then the treewidth of F is at most the
treewidth of G .
The treewidth of the k-clique is k − 1.
Obstruction to Treewidth

Figure : Example of a 6 × 6-grid

6

and a triangulated grid Γ4 .

Another, extremely useful obstructions to small treewidth, are
grid-minors. Let t be a positive integer. The t × t-grid t is a
graph with vertex set {(x, y ) | x, y ∈ {1, 2, . . . , t}}. Thus t has
exactly t 2 vertices. Two different vertices (x, y ) and (x , y ) are
adjacent if and only if |x − x | + |y − y | ≤ 1. The border of t is
the set of vertices with coordinates (1, y ), (t, y ), (t, 1), and (x, t),
where x, y ∈ {1, 2, . . . , t}
As we already have seen, if a graph contains large grid as a minor,
its treewidth is also large.
As we already have seen, if a graph contains large grid as a minor,
its treewidth is also large.
What is much more surprising, is that the converse is also true,
every graph of large treewidth contains a large grid as a minor.
Excluded Grid Theorem

Fact: [Excluded Grid Theorem] If the treewidth of G is at least
2
k 4k (k+2) , then G has a k × k grid minor.
[Robertson and Seymour ]
Excluded Grid Theorem

Fact: [Excluded Grid Theorem] If the treewidth of G is at least
2
k 4k (k+2) , then G has a k × k grid minor.
[Robertson and Seymour ]
It was open for many years whether a polynomial relationship could
be established between the treewidth of a graph G and the size of
its largest grid minor.
Excluded Grid Theorem

Fact: [Excluded Grid Theorem] If the treewidth of G is at least
2
k 4k (k+2) , then G has a k × k grid minor.
[Robertson and Seymour ]
It was open for many years whether a polynomial relationship could
be established between the treewidth of a graph G and the size of
its largest grid minor.

Theorem (Excluded Grid Theorem, Chekuri and Chuzhoy)
Let t ≥ 0 be an integer. There exists a universal constant c, such
that every graph of treewidth at least c · t 99 contains t as a
minor.
Excluded Grid Theorem

Fact: [Excluded Grid Theorem] If the treewidth of G is at least
2
k 4k (k+2) , then G has a k × k grid minor.
[Robertson and Seymour ]
Excluded Grid Theorem

Fact: [Excluded Grid Theorem] If the treewidth of G is at least
2
k 4k (k+2) , then G has a k × k grid minor.
[Robertson and Seymour ]
It was open for many years whether a polynomial relationship could
be established between the treewidth of a graph G and the size of
its largest grid minor.
Excluded Grid Theorem

Fact: [Excluded Grid Theorem] If the treewidth of G is at least
2
k 4k (k+2) , then G has a k × k grid minor.
[Robertson and Seymour ]
It was open for many years whether a polynomial relationship could
be established between the treewidth of a graph G and the size of
its largest grid minor.

Theorem (Excluded Grid Theorem, Chekuri and Chuzhoy)
Let t ≥ 0 be an integer. There exists a universal constant c, such
that every graph of treewidth at least c · t 99 contains t as a
minor.
Excluded Grid Theorem A : Planar Graph

Much better relations. We have two theorems:

Theorem (Planar Excluded Grid Theorem)
Let t ≥ 0 be an integer. Every planar graph G of treewidth at
least 9 t, contains t as a minor. Furthermore, there exists a
2
polynomial-time algorithm that for a given planar graph G either
outputs a tree decomposition of G of width 9 t or constructs a
2
minor model of t in G .
Excluded Grid Theorem : Planar Graph

One more Excluded Grid Theorem, this time not for minors but
just for edge contractions.

Figure : Example of a 6 × 6-grid

6

and a triangulated grid Γ4 .
Excluded Grid Theorem : Planar Graph
One more Excluded Grid Theorem, this time not for minors but
just for edge contractions.

Figure : Example of a 6 × 6-grid

6

and a triangulated grid Γ4 .

For an integer t > 0 the graph Γt is obtained from the grid t by
adding for every 1 ≤ x, y ≤ t − 1, the edge (x, y ), (x + 1, y + 1),
and making the vertex (t, t) adjacent to all vertices with x ∈ {1, t}
and y ∈ {1, t}.
Excluded Grid Theorem : Planar Graph

Figure : Example of a 6 × 6-grid

6

and a triangulated grid Γ4 .

Theorem
For any connected planar graph G and integer t ≥ 0, if
tw(G ) ≥ 9(t + 1), then G contains Γt as a contraction.
Furthermore there exists a polynomial-time algorithm that given G
either outputs a tree decomposition of G of width 9(t + 1) or a set
of edges whose contraction result in Γt .
Excluded Grid Theorem : Planar Graph

One more Excluded Grid Theorem, this time not for minors but
just for edge contractions.

Theorem
For any connected planar graph G and integer t ≥ 0, if
tw(G ) ≥ 9(t + 1), then G contains Γt as a contraction.
Furthermore there exists a polynomial-time algorithm that given G
either outputs a tree decomposition of G of width 9(t + 1) or a set
of edges whose contraction result in Γt .
Excluded Grid Theorem : Planar Graph

One more Excluded Grid Theorem, this time not for minors but
just for edge contractions.

Theorem
For any connected planar graph G and integer t ≥ 0, if
tw(G ) ≥ 9(t + 1), then G contains Γt as a contraction.
Furthermore there exists a polynomial-time algorithm that given G
either outputs a tree decomposition of G of width 9(t + 1) or a set
of edges whose contraction result in Γt .

Can we have such theorems for general
graphs?
Outerplanar graphs

Definition: A planar graph is outerplanar if it has a planar
embedding where every vertex is on the infinite face.
Outerplanar graphs

Definition: A planar graph is outerplanar if it has a planar
embedding where every vertex is on the infinite face.

Fact: Every outerplanar graph has treewidth at most 2.
=⇒ Every outerplanar graph is series-parallel.
k-outerplanar graphs
Given a planar embedding, we can define layers by iteratively
removing the vertices on the infinite face.
Definition: A planar graph is k-outerplanar if it has a planar
embedding having at most k layers.

1

1

2

1

2
1
2
3

2

3

2

3

3

3

3

3

2

2
2

2
2

1

1

Fact: Every k-outerplanar graph has treewidth at most 3k + 1.
k-outerplanar graphs
Given a planar embedding, we can define layers by iteratively
removing the vertices on the infinite face.
Definition: A planar graph is k-outerplanar if it has a planar
embedding having at most k layers.

1

1

2

1

2
1
2
3

2

3

2

3

3

3

3

3

2

2
2

2
2

1

1

Fact: Every k-outerplanar graph has treewidth at most 3k + 1.
k-outerplanar graphs
Given a planar embedding, we can define layers by iteratively
removing the vertices on the infinite face.
Definition: A planar graph is k-outerplanar if it has a planar
embedding having at most k layers.

2

2

2
3
2

3

2

3

3

3

3

3

2

2
2

2
2

Fact: Every k-outerplanar graph has treewidth at most 3k + 1.
k-outerplanar graphs
Given a planar embedding, we can define layers by iteratively
removing the vertices on the infinite face.
Definition: A planar graph is k-outerplanar if it has a planar
embedding having at most k layers.

2

2

2
3
2

3

2

3

3

3

3

3

2

2
2

2
2

Fact: Every k-outerplanar graph has treewidth at most 3k + 1.
k-outerplanar graphs
Given a planar embedding, we can define layers by iteratively
removing the vertices on the infinite face.
Definition: A planar graph is k-outerplanar if it has a planar
embedding having at most k layers.

3
3

3

3

3

3

3

Fact: Every k-outerplanar graph has treewidth at most 3k + 1.
Shifting Techniques
Building Blocks of the Technique

r
For vertex v of a graph G and integer r ≥ 1, we denote by Gv the
subgraph of G induced by vertices within distance r from v in G .
Building Blocks of the Technique

r
For vertex v of a graph G and integer r ≥ 1, we denote by Gv the
subgraph of G induced by vertices within distance r from v in G .

Lemma
Let G be a planar graph, v ∈ V (G ) and r ≥ 1. Then
r
tw(Gv ) ≤ 18(r + 1).

Proof.
On board.
Building Blocks of the Technique
r
For vertex v of a graph G and integer r ≥ 1, we denote by Gv the
subgraph of G induced by vertices within distance r from v in G .

Lemma
Let G be a planar graph, v ∈ V (G ) and r ≥ 1. Then
r
tw(Gv ) ≤ 18(r + 1).

Proof.
On board.
18(r + 1) in the above proof can be made 3r + 1.

Lemma
Let v be a vertex of a planar graph G and let Li , be the vertices of
G at distance i, 0 ≤ i ≤ n, from v . Then for any i, j ≥ 0, the
treewidth of the subgraph Gi,i+j induced by vertices in
Li ∪ Li+1 ∪ · · · ∪ Li+ j does not exceed 3j + 1.

Proof.
On board.
Intuition
The idea behind the shifting technique is as follows.
Pick a vertex v of planar graph G and run breadth-first search
(BFS) from v .
For any i, j ≥ 0, the treewidth of the subgraph Gi,i+j induced
by vertices in levels i, i + 1, . . . , i + j of BFS does not exceed
3j + 1.
Now for an appropriate choice of parameters, we can find
a“shift” of “windows”, i.e. a disjoint set of a small number of
consecutive levels of BFS, “covering” the solution. Because
every window is of small treewidth, we can employ the
dynamic programing or the power of Courcelle’s theorem to
solve the problem.
We will see two examples.
Intuition
The idea behind the shifting technique is as follows.
Pick a vertex v of planar graph G and run breadth-first search
(BFS) from v .
For any i, j ≥ 0, the treewidth of the subgraph Gi,i+j induced
by vertices in levels i, i + 1, . . . , i + j of BFS does not exceed
3j + 1.
Now for an appropriate choice of parameters, we can find
a“shift” of “windows”, i.e. a disjoint set of a small number of
consecutive levels of BFS, “covering” the solution. Because
every window is of small treewidth, we can employ the
dynamic programing or the power of Courcelle’s theorem to
solve the problem.
We will see two examples.
Intuition
The idea behind the shifting technique is as follows.
Pick a vertex v of planar graph G and run breadth-first search
(BFS) from v .
For any i, j ≥ 0, the treewidth of the subgraph Gi,i+j induced
by vertices in levels i, i + 1, . . . , i + j of BFS does not exceed
3j + 1.
Now for an appropriate choice of parameters, we can find
a“shift” of “windows”, i.e. a disjoint set of a small number of
consecutive levels of BFS, “covering” the solution. Because
every window is of small treewidth, we can employ the
dynamic programing or the power of Courcelle’s theorem to
solve the problem.
We will see two examples.
Intuition
The idea behind the shifting technique is as follows.
Pick a vertex v of planar graph G and run breadth-first search
(BFS) from v .
For any i, j ≥ 0, the treewidth of the subgraph Gi,i+j induced
by vertices in levels i, i + 1, . . . , i + j of BFS does not exceed
3j + 1.
Now for an appropriate choice of parameters, we can find
a“shift” of “windows”, i.e. a disjoint set of a small number of
consecutive levels of BFS, “covering” the solution. Because
every window is of small treewidth, we can employ the
dynamic programing or the power of Courcelle’s theorem to
solve the problem.
We will see two examples.
Subgraph Isomorphism

Subgraph Isomorphism: given graphs H and G , find a copy of
H in G as subgraph. Parameter k := |V (H)|.
EMSO formula of size k O(1) for Subgraph Isomorphism exists.
This now using Courcelle’s Theorem implies that we have
f (k, w ) · n time algorithm for Subgraph Isomorphism on
graphs of treewidth w .
Subgraph Isomorphism

Subgraph Isomorphism: given graphs H and G , find a copy of
H in G as subgraph. Parameter k := |V (H)|.
EMSO formula of size k O(1) for Subgraph Isomorphism exists.
This now using Courcelle’s Theorem implies that we have
f (k, w ) · n time algorithm for Subgraph Isomorphism on
graphs of treewidth w .
Subgraph Isomorphism

Subgraph Isomorphism: given graphs H and G , find a copy of
H in G as subgraph. Parameter k := |V (H)|.
EMSO formula of size k O(1) for Subgraph Isomorphism exists.
This now using Courcelle’s Theorem implies that we have
f (k, w ) · n time algorithm for Subgraph Isomorphism on
graphs of treewidth w .
Baker’s shifting strategy
Subgraph Isomorphism for planar graphs: given planar graphs H and
G , find a copy of H in G as subgraph. Parameter k := |V (H)|.
Layers of the planar
graph:
(as in the definition of
k-outerplanar):
For a fixed 0 ≤ s < k + 1, delete every layer Li with i = s
(mod k + 1)
The resulting graph is k-outerplanar, hence it has treewidth at most
3k + 1.
Using the f (k, w ) · n time algorithm for Subgraph Isomorphism,
the problem can be solved in time f (k, 3k + 1) · n.
We do this for every 0 ≤ s < k + 1: for at least one value of s, we
do not delete any of the k vertices of the solution =⇒ we find a
copy of H in G if there is one.
Subgraph Isomorphism for planar graphs is FPT parameterized
by k := |V (H)|.
Baker’s shifting strategy
Subgraph Isomorphism for planar graphs: given planar graphs H and
G , find a copy of H in G as subgraph. Parameter k := |V (H)|.
Layers of the planar
graph:
(as in the definition of
k-outerplanar):
For a fixed 0 ≤ s < k + 1, delete every layer Li with i = s
(mod k + 1)
The resulting graph is k-outerplanar, hence it has treewidth at most
3k + 1.
Using the f (k, w ) · n time algorithm for Subgraph Isomorphism,
the problem can be solved in time f (k, 3k + 1) · n.
We do this for every 0 ≤ s < k + 1: for at least one value of s, we
do not delete any of the k vertices of the solution =⇒ we find a
copy of H in G if there is one.
Subgraph Isomorphism for planar graphs is FPT parameterized
by k := |V (H)|.
Baker’s shifting strategy
Subgraph Isomorphism for planar graphs: given planar graphs H and
G , find a copy of H in G as subgraph. Parameter k := |V (H)|.
Layers of the planar
graph:
(as in the definition of
k-outerplanar):
For a fixed 0 ≤ s < k + 1, delete every layer Li with i = s
(mod k + 1)
The resulting graph is k-outerplanar, hence it has treewidth at most
3k + 1.
Using the f (k, w ) · n time algorithm for Subgraph Isomorphism,
the problem can be solved in time f (k, 3k + 1) · n.
We do this for every 0 ≤ s < k + 1: for at least one value of s, we
do not delete any of the k vertices of the solution =⇒ we find a
copy of H in G if there is one.
Subgraph Isomorphism for planar graphs is FPT parameterized
by k := |V (H)|.
Baker’s shifting strategy
Subgraph Isomorphism for planar graphs: given planar graphs H and
G , find a copy of H in G as subgraph. Parameter k := |V (H)|.
Layers of the planar
graph:
(as in the definition of
k-outerplanar):
For a fixed 0 ≤ s < k + 1, delete every layer Li with i = s
(mod k + 1)
The resulting graph is k-outerplanar, hence it has treewidth at most
3k + 1.
Using the f (k, w ) · n time algorithm for Subgraph Isomorphism,
the problem can be solved in time f (k, 3k + 1) · n.
We do this for every 0 ≤ s < k + 1: for at least one value of s, we
do not delete any of the k vertices of the solution =⇒ we find a
copy of H in G if there is one.
Subgraph Isomorphism for planar graphs is FPT parameterized
by k := |V (H)|.
Baker’s shifting strategy
Subgraph Isomorphism for planar graphs: given planar graphs H and
G , find a copy of H in G as subgraph. Parameter k := |V (H)|.
Layers of the planar
graph:
(as in the definition of
k-outerplanar):
For a fixed 0 ≤ s < k + 1, delete every layer Li with i = s
(mod k + 1)
The resulting graph is k-outerplanar, hence it has treewidth at most
3k + 1.
Using the f (k, w ) · n time algorithm for Subgraph Isomorphism,
the problem can be solved in time f (k, 3k + 1) · n.
We do this for every 0 ≤ s < k + 1: for at least one value of s, we
do not delete any of the k vertices of the solution =⇒ we find a
copy of H in G if there is one.
Subgraph Isomorphism for planar graphs is FPT parameterized
by k := |V (H)|.
Baker’s shifting strategy
Subgraph Isomorphism for planar graphs: given planar graphs H and
G , find a copy of H in G as subgraph. Parameter k := |V (H)|.
Layers of the planar
graph:
(as in the definition of
k-outerplanar):
For a fixed 0 ≤ s < k + 1, delete every layer Li with i = s
(mod k + 1)
The resulting graph is k-outerplanar, hence it has treewidth at most
3k + 1.
Using the f (k, w ) · n time algorithm for Subgraph Isomorphism,
the problem can be solved in time f (k, 3k + 1) · n.
We do this for every 0 ≤ s < k + 1: for at least one value of s, we
do not delete any of the k vertices of the solution =⇒ we find a
copy of H in G if there is one.
Subgraph Isomorphism for planar graphs is FPT parameterized
by k := |V (H)|.
Baker’s shifting strategy
Subgraph Isomorphism for planar graphs: given planar graphs H and
G , find a copy of H in G as subgraph. Parameter k := |V (H)|.
Layers of the planar
graph:
(as in the definition of
k-outerplanar):
For a fixed 0 ≤ s < k + 1, delete every layer Li with i = s
(mod k + 1)
The resulting graph is k-outerplanar, hence it has treewidth at most
3k + 1.
Using the f (k, w ) · n time algorithm for Subgraph Isomorphism,
the problem can be solved in time f (k, 3k + 1) · n.
We do this for every 0 ≤ s < k + 1: for at least one value of s, we
do not delete any of the k vertices of the solution =⇒ we find a
copy of H in G if there is one.
Subgraph Isomorphism for planar graphs is FPT parameterized
by k := |V (H)|.
Baker’s shifting strategy
Subgraph Isomorphism for planar graphs: given planar graphs H and
G , find a copy of H in G as subgraph. Parameter k := |V (H)|.
Layers of the planar
graph:
(as in the definition of
k-outerplanar):
For a fixed 0 ≤ s < k + 1, delete every layer Li with i = s
(mod k + 1)
The resulting graph is k-outerplanar, hence it has treewidth at most
3k + 1.
Using the f (k, w ) · n time algorithm for Subgraph Isomorphism,
the problem can be solved in time f (k, 3k + 1) · n.
We do this for every 0 ≤ s < k + 1: for at least one value of s, we
do not delete any of the k vertices of the solution =⇒ we find a
copy of H in G if there is one.
Subgraph Isomorphism for planar graphs is FPT parameterized
by k := |V (H)|.
Baker’s shifting strategy
Subgraph Isomorphism for planar graphs: given planar graphs H and
G , find a copy of H in G as subgraph. Parameter k := |V (H)|.
Layers of the planar
graph:
(as in the definition of
k-outerplanar):
For a fixed 0 ≤ s < k + 1, delete every layer Li with i = s
(mod k + 1)
The resulting graph is k-outerplanar, hence it has treewidth at most
3k + 1.
Using the f (k, w ) · n time algorithm for Subgraph Isomorphism,
the problem can be solved in time f (k, 3k + 1) · n.
We do this for every 0 ≤ s < k + 1: for at least one value of s, we
do not delete any of the k vertices of the solution =⇒ we find a
copy of H in G if there is one.
Subgraph Isomorphism for planar graphs is FPT parameterized
by k := |V (H)|.
Baker’s shifting strategy
Subgraph Isomorphism for planar graphs: given planar graphs H and
G , find a copy of H in G as subgraph. Parameter k := |V (H)|.
Layers of the planar
graph:
(as in the definition of
k-outerplanar):
For a fixed 0 ≤ s < k + 1, delete every layer Li with i = s
(mod k + 1)
The resulting graph is k-outerplanar, hence it has treewidth at most
3k + 1.
Using the f (k, w ) · n time algorithm for Subgraph Isomorphism,
the problem can be solved in time f (k, 3k + 1) · n.
We do this for every 0 ≤ s < k + 1: for at least one value of s, we
do not delete any of the k vertices of the solution =⇒ we find a
copy of H in G if there is one.
Subgraph Isomorphism for planar graphs is FPT parameterized
by k := |V (H)|.
Bisection

For a given n-vertex graph G , weight function w : V (G ) → N and
integer k, the task is to decide if there is a partition of V (G ) into
sets V1 and V2 of weights w (V (G ))/2 and w (V (G )/2 and
such that the number of edges between V1 and V2 is at most k. In
other words, we are looking for a balanced partition (V1 , V2 ) with
a (V1 , V2 )-cut at most k.
Bisection
For a given n-vertex graph G , weight function w : V (G ) → N and
integer k, the task is to decide if there is a partition of V (G ) into
sets V1 and V2 of weights w (V (G ))/2 and w (V (G )/2 and
such that the number of edges between V1 and V2 is at most k. In
other words, we are looking for a balanced partition (V1 , V2 ) with
a (V1 , V2 )-cut at most k.

Lemma
Bisection is solvable in time 2t · nO(1) on an n-vertex given
together with its tree decomposition of width t.

Theorem
Bisection on planar graphs is solvable in time 2O(k) · nO(1) .

Proof.
On board.
Approximation schemes
Definition: A polynomial-time approximation scheme (PTAS) for a
problem P is an algorithm that takes an instance of P and a
rational number ε > 0,
always finds a (1 + ε)-approximate solution,
the running time is polynomial in n for every fixed ε > 0.
2

Typical running times: 21/ε · n, n1/ε , (n/ε)2 , n1/ε .
Some classical problems that have a PTAS:
Independent Set for planar graphs
TSP in the Euclidean plane
Steiner Tree in planar graphs
Knapsack
Baker’s shifting strategy for EPTAS
Fact: There is a 2O(1/ε) · n time PTAS for Independent Set for
planar graphs.

Let D := 1/ε. For a fixed 0 ≤ s < D, delete every layer Li
with i = s (mod D)
The resulting graph is D-outerplanar, hence it has treewidth
at most 3D + 1 = O(1/ε).
Using the O(2w · n) time algorithm for Independent Set,
the problem can be solved in time 2O(1/ε) · n.
We do this for every 0 ≤ s < D: for at least one value of s,
we delete at most 1/D = ε fraction of the solution =⇒ we
get a (1 − ε)-approximate solution.
Bidimensionality

More Related Content

What's hot

Kernelization Basics
Kernelization BasicsKernelization Basics
Kernelization BasicsASPAK2014
 
Internal workshop jub talk jan 2013
Internal workshop jub talk jan 2013Internal workshop jub talk jan 2013
Internal workshop jub talk jan 2013Jurgen Riedel
 
minimum spanning trees Algorithm
minimum spanning trees Algorithm minimum spanning trees Algorithm
minimum spanning trees Algorithm
sachin varun
 
Strong (Weak) Triple Connected Domination Number of a Fuzzy Graph
Strong (Weak) Triple Connected Domination Number of a Fuzzy GraphStrong (Weak) Triple Connected Domination Number of a Fuzzy Graph
Strong (Weak) Triple Connected Domination Number of a Fuzzy Graph
ijceronline
 
Minimum spanning tree
Minimum spanning treeMinimum spanning tree
Minimum spanning tree
Amit Kumar Rathi
 
A T(1)-type theorem for entangled multilinear Calderon-Zygmund operators
A T(1)-type theorem for entangled multilinear Calderon-Zygmund operatorsA T(1)-type theorem for entangled multilinear Calderon-Zygmund operators
A T(1)-type theorem for entangled multilinear Calderon-Zygmund operators
VjekoslavKovac1
 
01 knapsack using backtracking
01 knapsack using backtracking01 knapsack using backtracking
01 knapsack using backtrackingmandlapure
 
A common fixed point of integral type contraction in generalized metric spacess
A  common fixed point of integral type contraction in generalized metric spacessA  common fixed point of integral type contraction in generalized metric spacess
A common fixed point of integral type contraction in generalized metric spacess
Alexander Decker
 
Higher-Order (F, α, β, ρ, d) –Convexity for Multiobjective Programming Problem
Higher-Order (F, α, β, ρ, d) –Convexity for Multiobjective Programming ProblemHigher-Order (F, α, β, ρ, d) –Convexity for Multiobjective Programming Problem
Higher-Order (F, α, β, ρ, d) –Convexity for Multiobjective Programming Problem
inventionjournals
 
Density theorems for Euclidean point configurations
Density theorems for Euclidean point configurationsDensity theorems for Euclidean point configurations
Density theorems for Euclidean point configurations
VjekoslavKovac1
 
Minimum spanning Tree
Minimum spanning TreeMinimum spanning Tree
Minimum spanning Tree
Narendra Singh Patel
 
A Generalization of QN-Maps
A Generalization of QN-MapsA Generalization of QN-Maps
A Generalization of QN-Maps
IOSR Journals
 
Threshold network models
Threshold network modelsThreshold network models
Threshold network models
Naoki Masuda
 
Minimum spanning tree algorithms by ibrahim_alfayoumi
Minimum spanning tree algorithms by ibrahim_alfayoumiMinimum spanning tree algorithms by ibrahim_alfayoumi
Minimum spanning tree algorithms by ibrahim_alfayoumi
Ibrahim Alfayoumi
 
On maximal and variational Fourier restriction
On maximal and variational Fourier restrictionOn maximal and variational Fourier restriction
On maximal and variational Fourier restriction
VjekoslavKovac1
 
Trilinear embedding for divergence-form operators
Trilinear embedding for divergence-form operatorsTrilinear embedding for divergence-form operators
Trilinear embedding for divergence-form operators
VjekoslavKovac1
 
Patch Matching with Polynomial Exponential Families and Projective Divergences
Patch Matching with Polynomial Exponential Families and Projective DivergencesPatch Matching with Polynomial Exponential Families and Projective Divergences
Patch Matching with Polynomial Exponential Families and Projective Divergences
Frank Nielsen
 
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Appli...
 Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Appli... Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Appli...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Appli...
The Statistical and Applied Mathematical Sciences Institute
 
Norm-variation of bilinear averages
Norm-variation of bilinear averagesNorm-variation of bilinear averages
Norm-variation of bilinear averages
VjekoslavKovac1
 

What's hot (20)

Kernelization Basics
Kernelization BasicsKernelization Basics
Kernelization Basics
 
Internal workshop jub talk jan 2013
Internal workshop jub talk jan 2013Internal workshop jub talk jan 2013
Internal workshop jub talk jan 2013
 
minimum spanning trees Algorithm
minimum spanning trees Algorithm minimum spanning trees Algorithm
minimum spanning trees Algorithm
 
Strong (Weak) Triple Connected Domination Number of a Fuzzy Graph
Strong (Weak) Triple Connected Domination Number of a Fuzzy GraphStrong (Weak) Triple Connected Domination Number of a Fuzzy Graph
Strong (Weak) Triple Connected Domination Number of a Fuzzy Graph
 
Minimum spanning tree
Minimum spanning treeMinimum spanning tree
Minimum spanning tree
 
A T(1)-type theorem for entangled multilinear Calderon-Zygmund operators
A T(1)-type theorem for entangled multilinear Calderon-Zygmund operatorsA T(1)-type theorem for entangled multilinear Calderon-Zygmund operators
A T(1)-type theorem for entangled multilinear Calderon-Zygmund operators
 
01 knapsack using backtracking
01 knapsack using backtracking01 knapsack using backtracking
01 knapsack using backtracking
 
A common fixed point of integral type contraction in generalized metric spacess
A  common fixed point of integral type contraction in generalized metric spacessA  common fixed point of integral type contraction in generalized metric spacess
A common fixed point of integral type contraction in generalized metric spacess
 
Higher-Order (F, α, β, ρ, d) –Convexity for Multiobjective Programming Problem
Higher-Order (F, α, β, ρ, d) –Convexity for Multiobjective Programming ProblemHigher-Order (F, α, β, ρ, d) –Convexity for Multiobjective Programming Problem
Higher-Order (F, α, β, ρ, d) –Convexity for Multiobjective Programming Problem
 
Density theorems for Euclidean point configurations
Density theorems for Euclidean point configurationsDensity theorems for Euclidean point configurations
Density theorems for Euclidean point configurations
 
Minimum spanning Tree
Minimum spanning TreeMinimum spanning Tree
Minimum spanning Tree
 
A Generalization of QN-Maps
A Generalization of QN-MapsA Generalization of QN-Maps
A Generalization of QN-Maps
 
Threshold network models
Threshold network modelsThreshold network models
Threshold network models
 
Minimum spanning tree algorithms by ibrahim_alfayoumi
Minimum spanning tree algorithms by ibrahim_alfayoumiMinimum spanning tree algorithms by ibrahim_alfayoumi
Minimum spanning tree algorithms by ibrahim_alfayoumi
 
On maximal and variational Fourier restriction
On maximal and variational Fourier restrictionOn maximal and variational Fourier restriction
On maximal and variational Fourier restriction
 
Trilinear embedding for divergence-form operators
Trilinear embedding for divergence-form operatorsTrilinear embedding for divergence-form operators
Trilinear embedding for divergence-form operators
 
Patch Matching with Polynomial Exponential Families and Projective Divergences
Patch Matching with Polynomial Exponential Families and Projective DivergencesPatch Matching with Polynomial Exponential Families and Projective Divergences
Patch Matching with Polynomial Exponential Families and Projective Divergences
 
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Appli...
 Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Appli... Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Appli...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Appli...
 
Norm-variation of bilinear averages
Norm-variation of bilinear averagesNorm-variation of bilinear averages
Norm-variation of bilinear averages
 
1452 86301000013 m
1452 86301000013 m1452 86301000013 m
1452 86301000013 m
 

Viewers also liked

Color Coding
Color CodingColor Coding
Color CodingASPAK2014
 
Cut and Count
Cut and CountCut and Count
Cut and CountASPAK2014
 
Matroid Basics
Matroid BasicsMatroid Basics
Matroid BasicsASPAK2014
 
Representative Sets
Representative SetsRepresentative Sets
Representative SetsASPAK2014
 
Kernel Lower Bounds
Kernel Lower BoundsKernel Lower Bounds
Kernel Lower BoundsASPAK2014
 
Fixed-Parameter Intractability
Fixed-Parameter IntractabilityFixed-Parameter Intractability
Fixed-Parameter IntractabilityASPAK2014
 
Efficient Simplification: The (im)possibilities
Efficient Simplification: The (im)possibilitiesEfficient Simplification: The (im)possibilities
Efficient Simplification: The (im)possibilitiesNeeldhara Misra
 
Steiner Tree Parameterized by Treewidth
Steiner Tree Parameterized by TreewidthSteiner Tree Parameterized by Treewidth
Steiner Tree Parameterized by TreewidthASPAK2014
 
Separators with Non-Hereditary Properties
Separators with Non-Hereditary PropertiesSeparators with Non-Hereditary Properties
Separators with Non-Hereditary PropertiesNeeldhara Misra
 
A Kernel for Planar F-deletion: The Connected Case
A Kernel for Planar F-deletion: The Connected CaseA Kernel for Planar F-deletion: The Connected Case
A Kernel for Planar F-deletion: The Connected CaseNeeldhara Misra
 
Kernels for Planar F-Deletion (Restricted Variants)
Kernels for Planar F-Deletion (Restricted Variants)Kernels for Planar F-Deletion (Restricted Variants)
Kernels for Planar F-Deletion (Restricted Variants)Neeldhara Misra
 

Viewers also liked (13)

Color Coding
Color CodingColor Coding
Color Coding
 
Cut and Count
Cut and CountCut and Count
Cut and Count
 
Matroid Basics
Matroid BasicsMatroid Basics
Matroid Basics
 
Representative Sets
Representative SetsRepresentative Sets
Representative Sets
 
Kernel Lower Bounds
Kernel Lower BoundsKernel Lower Bounds
Kernel Lower Bounds
 
Fixed-Parameter Intractability
Fixed-Parameter IntractabilityFixed-Parameter Intractability
Fixed-Parameter Intractability
 
Efficient Simplification: The (im)possibilities
Efficient Simplification: The (im)possibilitiesEfficient Simplification: The (im)possibilities
Efficient Simplification: The (im)possibilities
 
Steiner Tree Parameterized by Treewidth
Steiner Tree Parameterized by TreewidthSteiner Tree Parameterized by Treewidth
Steiner Tree Parameterized by Treewidth
 
EKR for Matchings
EKR for MatchingsEKR for Matchings
EKR for Matchings
 
Separators with Non-Hereditary Properties
Separators with Non-Hereditary PropertiesSeparators with Non-Hereditary Properties
Separators with Non-Hereditary Properties
 
A Kernel for Planar F-deletion: The Connected Case
A Kernel for Planar F-deletion: The Connected CaseA Kernel for Planar F-deletion: The Connected Case
A Kernel for Planar F-deletion: The Connected Case
 
Kernels for Planar F-Deletion (Restricted Variants)
Kernels for Planar F-Deletion (Restricted Variants)Kernels for Planar F-Deletion (Restricted Variants)
Kernels for Planar F-Deletion (Restricted Variants)
 
From FVS to F-Deletion
From FVS to F-DeletionFrom FVS to F-Deletion
From FVS to F-Deletion
 

Similar to Treewidth and Applications

ON ALGORITHMIC PROBLEMS CONCERNING GRAPHS OF HIGHER DEGREE OF SYMMETRY
ON ALGORITHMIC PROBLEMS CONCERNING GRAPHS OF HIGHER DEGREE OF SYMMETRYON ALGORITHMIC PROBLEMS CONCERNING GRAPHS OF HIGHER DEGREE OF SYMMETRY
ON ALGORITHMIC PROBLEMS CONCERNING GRAPHS OF HIGHER DEGREE OF SYMMETRY
Fransiskeran
 
On algorithmic problems concerning graphs of higher degree of symmetry
On algorithmic problems concerning graphs of higher degree of symmetryOn algorithmic problems concerning graphs of higher degree of symmetry
On algorithmic problems concerning graphs of higher degree of symmetry
graphhoc
 
Total Dominating Color Transversal Number of Graphs And Graph Operations
Total Dominating Color Transversal Number of Graphs And Graph OperationsTotal Dominating Color Transversal Number of Graphs And Graph Operations
Total Dominating Color Transversal Number of Graphs And Graph Operations
inventionjournals
 
Trees amd properties slide for presentaton
Trees amd properties slide for presentatonTrees amd properties slide for presentaton
Trees amd properties slide for presentaton
SHARANSASI1
 
EVEN GRACEFUL LABELLING OF A CLASS OF TREES
EVEN GRACEFUL LABELLING OF A CLASS OF TREESEVEN GRACEFUL LABELLING OF A CLASS OF TREES
EVEN GRACEFUL LABELLING OF A CLASS OF TREES
Fransiskeran
 
Complex analysis notes
Complex analysis notesComplex analysis notes
Complex analysis notes
Prakash Dabhi
 
The Gaussian Hardy-Littlewood Maximal Function
The Gaussian Hardy-Littlewood Maximal FunctionThe Gaussian Hardy-Littlewood Maximal Function
The Gaussian Hardy-Littlewood Maximal Function
Radboud University Medical Center
 
X4102188192
X4102188192X4102188192
X4102188192
IJERA Editor
 
Algorithm chapter 9
Algorithm chapter 9Algorithm chapter 9
Algorithm chapter 9chidabdu
 
A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...
A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...
A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...
cseiitgn
 
ADA - Minimum Spanning Tree Prim Kruskal and Dijkstra
ADA - Minimum Spanning Tree Prim Kruskal and Dijkstra ADA - Minimum Spanning Tree Prim Kruskal and Dijkstra
ADA - Minimum Spanning Tree Prim Kruskal and Dijkstra
Sahil Kumar
 
11.characterization of connected vertex magic total labeling graphs in topolo...
11.characterization of connected vertex magic total labeling graphs in topolo...11.characterization of connected vertex magic total labeling graphs in topolo...
11.characterization of connected vertex magic total labeling graphs in topolo...
Alexander Decker
 
4. [22 25]characterization of connected vertex magic total labeling graphs in...
4. [22 25]characterization of connected vertex magic total labeling graphs in...4. [22 25]characterization of connected vertex magic total labeling graphs in...
4. [22 25]characterization of connected vertex magic total labeling graphs in...Alexander Decker
 
4. [22 25]characterization of connected vertex magic total labeling graphs in...
4. [22 25]characterization of connected vertex magic total labeling graphs in...4. [22 25]characterization of connected vertex magic total labeling graphs in...
4. [22 25]characterization of connected vertex magic total labeling graphs in...
Alexander Decker
 
4. [22 25]characterization of connected vertex magic total labeling graphs in...
4. [22 25]characterization of connected vertex magic total labeling graphs in...4. [22 25]characterization of connected vertex magic total labeling graphs in...
4. [22 25]characterization of connected vertex magic total labeling graphs in...
Alexander Decker
 
Optimization
OptimizationOptimization
OptimizationSpringer
 
Dynamic Parameterized Problems - Algorithms and Complexity
Dynamic Parameterized Problems - Algorithms and ComplexityDynamic Parameterized Problems - Algorithms and Complexity
Dynamic Parameterized Problems - Algorithms and Complexity
cseiitgn
 
Bounds on double domination in squares of graphs
Bounds on double domination in squares of graphsBounds on double domination in squares of graphs
Bounds on double domination in squares of graphs
eSAT Publishing House
 

Similar to Treewidth and Applications (20)

ON ALGORITHMIC PROBLEMS CONCERNING GRAPHS OF HIGHER DEGREE OF SYMMETRY
ON ALGORITHMIC PROBLEMS CONCERNING GRAPHS OF HIGHER DEGREE OF SYMMETRYON ALGORITHMIC PROBLEMS CONCERNING GRAPHS OF HIGHER DEGREE OF SYMMETRY
ON ALGORITHMIC PROBLEMS CONCERNING GRAPHS OF HIGHER DEGREE OF SYMMETRY
 
On algorithmic problems concerning graphs of higher degree of symmetry
On algorithmic problems concerning graphs of higher degree of symmetryOn algorithmic problems concerning graphs of higher degree of symmetry
On algorithmic problems concerning graphs of higher degree of symmetry
 
Network Theory
Network TheoryNetwork Theory
Network Theory
 
Total Dominating Color Transversal Number of Graphs And Graph Operations
Total Dominating Color Transversal Number of Graphs And Graph OperationsTotal Dominating Color Transversal Number of Graphs And Graph Operations
Total Dominating Color Transversal Number of Graphs And Graph Operations
 
Trees amd properties slide for presentaton
Trees amd properties slide for presentatonTrees amd properties slide for presentaton
Trees amd properties slide for presentaton
 
EVEN GRACEFUL LABELLING OF A CLASS OF TREES
EVEN GRACEFUL LABELLING OF A CLASS OF TREESEVEN GRACEFUL LABELLING OF A CLASS OF TREES
EVEN GRACEFUL LABELLING OF A CLASS OF TREES
 
Complex analysis notes
Complex analysis notesComplex analysis notes
Complex analysis notes
 
The Gaussian Hardy-Littlewood Maximal Function
The Gaussian Hardy-Littlewood Maximal FunctionThe Gaussian Hardy-Littlewood Maximal Function
The Gaussian Hardy-Littlewood Maximal Function
 
Merrk
MerrkMerrk
Merrk
 
X4102188192
X4102188192X4102188192
X4102188192
 
Algorithm chapter 9
Algorithm chapter 9Algorithm chapter 9
Algorithm chapter 9
 
A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...
A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...
A Quest for Subexponential Time Parameterized Algorithms for Planar-k-Path: F...
 
ADA - Minimum Spanning Tree Prim Kruskal and Dijkstra
ADA - Minimum Spanning Tree Prim Kruskal and Dijkstra ADA - Minimum Spanning Tree Prim Kruskal and Dijkstra
ADA - Minimum Spanning Tree Prim Kruskal and Dijkstra
 
11.characterization of connected vertex magic total labeling graphs in topolo...
11.characterization of connected vertex magic total labeling graphs in topolo...11.characterization of connected vertex magic total labeling graphs in topolo...
11.characterization of connected vertex magic total labeling graphs in topolo...
 
4. [22 25]characterization of connected vertex magic total labeling graphs in...
4. [22 25]characterization of connected vertex magic total labeling graphs in...4. [22 25]characterization of connected vertex magic total labeling graphs in...
4. [22 25]characterization of connected vertex magic total labeling graphs in...
 
4. [22 25]characterization of connected vertex magic total labeling graphs in...
4. [22 25]characterization of connected vertex magic total labeling graphs in...4. [22 25]characterization of connected vertex magic total labeling graphs in...
4. [22 25]characterization of connected vertex magic total labeling graphs in...
 
4. [22 25]characterization of connected vertex magic total labeling graphs in...
4. [22 25]characterization of connected vertex magic total labeling graphs in...4. [22 25]characterization of connected vertex magic total labeling graphs in...
4. [22 25]characterization of connected vertex magic total labeling graphs in...
 
Optimization
OptimizationOptimization
Optimization
 
Dynamic Parameterized Problems - Algorithms and Complexity
Dynamic Parameterized Problems - Algorithms and ComplexityDynamic Parameterized Problems - Algorithms and Complexity
Dynamic Parameterized Problems - Algorithms and Complexity
 
Bounds on double domination in squares of graphs
Bounds on double domination in squares of graphsBounds on double domination in squares of graphs
Bounds on double domination in squares of graphs
 

Recently uploaded

Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
AzmatAli747758
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
Col Mukteshwar Prasad
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
Steve Thomason
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
Vivekanand Anglo Vedic Academy
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 

Recently uploaded (20)

Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
How to Break the cycle of negative Thoughts
How to Break the cycle of negative ThoughtsHow to Break the cycle of negative Thoughts
How to Break the cycle of negative Thoughts
 
The Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve ThomasonThe Art Pastor's Guide to Sabbath | Steve Thomason
The Art Pastor's Guide to Sabbath | Steve Thomason
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
Sectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdfSectors of the Indian Economy - Class 10 Study Notes pdf
Sectors of the Indian Economy - Class 10 Study Notes pdf
 
Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......Ethnobotany and Ethnopharmacology ......
Ethnobotany and Ethnopharmacology ......
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 

Treewidth and Applications

  • 1. Treewidth 2: Applications Saket Saurabh The Institute of Mathematical Sciences, India ASPAK 2014, March 3-8
  • 2. Introduction and definition DONE Part I: Algorithms for bounded treewidth graphs. DONE Part II: Graph-theoretic properties of treewidth. Part III: Applications for general graphs. Part IV: Algorithm for finding treewidth Part V: Irrelevant Vertices – Planar Vertex Deletion.
  • 3. Applications Algorithms for graphs of bounded treewidth find many applications, for example in Graph Minors Exact Algorithms Approximation Schemes Parameterized Algorithms Kernelization Databases CSP’s
  • 4. Application I: Parameterized Algorithms Extended Monadic Second Order Logic (EMSO) A logical language on graphs consisting of the following: Logical connectives ∧, ∨, →, ¬, =, = quantifiers ∀, ∃ over vertex/edge variables predicate adj(u, v ): vertices u and v are adjacent predicate inc(e, v ): edge e is incident to vertex v ∈, ⊆ for vertex/edge sets Example: The formula ∃C ⊆ V ∀v ∈ C ∃u1 , u2 ∈ C (u1 = u2 ∧ adj(u1 , v ) ∧ adj(u2 , v )) is true . . .if graph G (V , E ) has a cycle.
  • 5. Application I: Parameterized Algorithms Extended Monadic Second Order Logic (EMSO) A logical language on graphs consisting of the following: Logical connectives ∧, ∨, →, ¬, =, = quantifiers ∀, ∃ over vertex/edge variables predicate adj(u, v ): vertices u and v are adjacent predicate inc(e, v ): edge e is incident to vertex v ∈, ⊆ for vertex/edge sets Example: The formula ∃C ⊆ V ∀v ∈ C ∃u1 , u2 ∈ C (u1 = u2 ∧ adj(u1 , v ) ∧ adj(u2 , v )) is true . . .if graph G (V , E ) has a cycle.
  • 6. Application I: Parameterized Algorithms Extended Monadic Second Order Logic (EMSO) A logical language on graphs consisting of the following: Logical connectives ∧, ∨, →, ¬, =, = quantifiers ∀, ∃ over vertex/edge variables predicate adj(u, v ): vertices u and v are adjacent predicate inc(e, v ): edge e is incident to vertex v ∈, ⊆ for vertex/edge sets Example: The formula ∃C ⊆ V ∀v ∈ C ∃u1 , u2 ∈ C (u1 = u2 ∧ adj(u1 , v ) ∧ adj(u2 , v )) is true . . .if graph G (V , E ) has a cycle.
  • 7. Courcelle’s Theorem Courcelle’s Theorem: If a graph property can be expressed in EMSO with formula ϕ of size |ϕ|, then for every fixed w ≥ 1, there is an algorithm running in time f (|ϕ|, w ) · n for testing this property on graphs having treewidth at most w . Independent Set, Dominating Set, q Coloring, Max Cut, Odd Cycle Transversal, Hamiltonian Cycle, Partition into Triangles, Feedback Vertex Set, Vertex Disjoint Cycle Packing and million other problems are FPT parameterized by the treewidth.
  • 8. Courcelle’s Theorem Courcelle’s Theorem: If a graph property can be expressed in EMSO with formula ϕ of size |ϕ|, then for every fixed w ≥ 1, there is an algorithm running in time f (|ϕ|, w ) · n for testing this property on graphs having treewidth at most w . Independent Set, Dominating Set, q Coloring, Max Cut, Odd Cycle Transversal, Hamiltonian Cycle, Partition into Triangles, Feedback Vertex Set, Vertex Disjoint Cycle Packing and million other problems are FPT parameterized by the treewidth.
  • 9. Properties of treewidth Fact: treewidth ≤ 2 if and only if graph is subgraph of a series-parallel graph
  • 10. Properties of treewidth Fact: treewidth ≤ 2 if and only if graph is subgraph of a series-parallel graph Fact: For every k ≥ 2, the treewidth of the k × k grid is exactly k.
  • 11. Properties of treewidth Fact: treewidth ≤ 2 if and only if graph is subgraph of a series-parallel graph Fact: For every k ≥ 2, the treewidth of the k × k grid is exactly k. Fact: Treewidth does not increase if we delete edges, delete vertices, or contract edges. =⇒ If F is a minor of G , then the treewidth of F is at most the treewidth of G .
  • 12. Properties of treewidth Fact: treewidth ≤ 2 if and only if graph is subgraph of a series-parallel graph Fact: For every k ≥ 2, the treewidth of the k × k grid is exactly k. Fact: Treewidth does not increase if we delete edges, delete vertices, or contract edges. =⇒ If F is a minor of G , then the treewidth of F is at most the treewidth of G . The treewidth of the k-clique is k − 1.
  • 13. Obstruction to Treewidth Figure : Example of a 6 × 6-grid 6 and a triangulated grid Γ4 . Another, extremely useful obstructions to small treewidth, are grid-minors. Let t be a positive integer. The t × t-grid t is a graph with vertex set {(x, y ) | x, y ∈ {1, 2, . . . , t}}. Thus t has exactly t 2 vertices. Two different vertices (x, y ) and (x , y ) are adjacent if and only if |x − x | + |y − y | ≤ 1. The border of t is the set of vertices with coordinates (1, y ), (t, y ), (t, 1), and (x, t), where x, y ∈ {1, 2, . . . , t}
  • 14. As we already have seen, if a graph contains large grid as a minor, its treewidth is also large.
  • 15. As we already have seen, if a graph contains large grid as a minor, its treewidth is also large. What is much more surprising, is that the converse is also true, every graph of large treewidth contains a large grid as a minor.
  • 16. Excluded Grid Theorem Fact: [Excluded Grid Theorem] If the treewidth of G is at least 2 k 4k (k+2) , then G has a k × k grid minor. [Robertson and Seymour ]
  • 17. Excluded Grid Theorem Fact: [Excluded Grid Theorem] If the treewidth of G is at least 2 k 4k (k+2) , then G has a k × k grid minor. [Robertson and Seymour ] It was open for many years whether a polynomial relationship could be established between the treewidth of a graph G and the size of its largest grid minor.
  • 18. Excluded Grid Theorem Fact: [Excluded Grid Theorem] If the treewidth of G is at least 2 k 4k (k+2) , then G has a k × k grid minor. [Robertson and Seymour ] It was open for many years whether a polynomial relationship could be established between the treewidth of a graph G and the size of its largest grid minor. Theorem (Excluded Grid Theorem, Chekuri and Chuzhoy) Let t ≥ 0 be an integer. There exists a universal constant c, such that every graph of treewidth at least c · t 99 contains t as a minor.
  • 19. Excluded Grid Theorem Fact: [Excluded Grid Theorem] If the treewidth of G is at least 2 k 4k (k+2) , then G has a k × k grid minor. [Robertson and Seymour ]
  • 20. Excluded Grid Theorem Fact: [Excluded Grid Theorem] If the treewidth of G is at least 2 k 4k (k+2) , then G has a k × k grid minor. [Robertson and Seymour ] It was open for many years whether a polynomial relationship could be established between the treewidth of a graph G and the size of its largest grid minor.
  • 21. Excluded Grid Theorem Fact: [Excluded Grid Theorem] If the treewidth of G is at least 2 k 4k (k+2) , then G has a k × k grid minor. [Robertson and Seymour ] It was open for many years whether a polynomial relationship could be established between the treewidth of a graph G and the size of its largest grid minor. Theorem (Excluded Grid Theorem, Chekuri and Chuzhoy) Let t ≥ 0 be an integer. There exists a universal constant c, such that every graph of treewidth at least c · t 99 contains t as a minor.
  • 22. Excluded Grid Theorem A : Planar Graph Much better relations. We have two theorems: Theorem (Planar Excluded Grid Theorem) Let t ≥ 0 be an integer. Every planar graph G of treewidth at least 9 t, contains t as a minor. Furthermore, there exists a 2 polynomial-time algorithm that for a given planar graph G either outputs a tree decomposition of G of width 9 t or constructs a 2 minor model of t in G .
  • 23. Excluded Grid Theorem : Planar Graph One more Excluded Grid Theorem, this time not for minors but just for edge contractions. Figure : Example of a 6 × 6-grid 6 and a triangulated grid Γ4 .
  • 24. Excluded Grid Theorem : Planar Graph One more Excluded Grid Theorem, this time not for minors but just for edge contractions. Figure : Example of a 6 × 6-grid 6 and a triangulated grid Γ4 . For an integer t > 0 the graph Γt is obtained from the grid t by adding for every 1 ≤ x, y ≤ t − 1, the edge (x, y ), (x + 1, y + 1), and making the vertex (t, t) adjacent to all vertices with x ∈ {1, t} and y ∈ {1, t}.
  • 25. Excluded Grid Theorem : Planar Graph Figure : Example of a 6 × 6-grid 6 and a triangulated grid Γ4 . Theorem For any connected planar graph G and integer t ≥ 0, if tw(G ) ≥ 9(t + 1), then G contains Γt as a contraction. Furthermore there exists a polynomial-time algorithm that given G either outputs a tree decomposition of G of width 9(t + 1) or a set of edges whose contraction result in Γt .
  • 26. Excluded Grid Theorem : Planar Graph One more Excluded Grid Theorem, this time not for minors but just for edge contractions. Theorem For any connected planar graph G and integer t ≥ 0, if tw(G ) ≥ 9(t + 1), then G contains Γt as a contraction. Furthermore there exists a polynomial-time algorithm that given G either outputs a tree decomposition of G of width 9(t + 1) or a set of edges whose contraction result in Γt .
  • 27. Excluded Grid Theorem : Planar Graph One more Excluded Grid Theorem, this time not for minors but just for edge contractions. Theorem For any connected planar graph G and integer t ≥ 0, if tw(G ) ≥ 9(t + 1), then G contains Γt as a contraction. Furthermore there exists a polynomial-time algorithm that given G either outputs a tree decomposition of G of width 9(t + 1) or a set of edges whose contraction result in Γt . Can we have such theorems for general graphs?
  • 28. Outerplanar graphs Definition: A planar graph is outerplanar if it has a planar embedding where every vertex is on the infinite face.
  • 29. Outerplanar graphs Definition: A planar graph is outerplanar if it has a planar embedding where every vertex is on the infinite face. Fact: Every outerplanar graph has treewidth at most 2. =⇒ Every outerplanar graph is series-parallel.
  • 30. k-outerplanar graphs Given a planar embedding, we can define layers by iteratively removing the vertices on the infinite face. Definition: A planar graph is k-outerplanar if it has a planar embedding having at most k layers. 1 1 2 1 2 1 2 3 2 3 2 3 3 3 3 3 2 2 2 2 2 1 1 Fact: Every k-outerplanar graph has treewidth at most 3k + 1.
  • 31. k-outerplanar graphs Given a planar embedding, we can define layers by iteratively removing the vertices on the infinite face. Definition: A planar graph is k-outerplanar if it has a planar embedding having at most k layers. 1 1 2 1 2 1 2 3 2 3 2 3 3 3 3 3 2 2 2 2 2 1 1 Fact: Every k-outerplanar graph has treewidth at most 3k + 1.
  • 32. k-outerplanar graphs Given a planar embedding, we can define layers by iteratively removing the vertices on the infinite face. Definition: A planar graph is k-outerplanar if it has a planar embedding having at most k layers. 2 2 2 3 2 3 2 3 3 3 3 3 2 2 2 2 2 Fact: Every k-outerplanar graph has treewidth at most 3k + 1.
  • 33. k-outerplanar graphs Given a planar embedding, we can define layers by iteratively removing the vertices on the infinite face. Definition: A planar graph is k-outerplanar if it has a planar embedding having at most k layers. 2 2 2 3 2 3 2 3 3 3 3 3 2 2 2 2 2 Fact: Every k-outerplanar graph has treewidth at most 3k + 1.
  • 34. k-outerplanar graphs Given a planar embedding, we can define layers by iteratively removing the vertices on the infinite face. Definition: A planar graph is k-outerplanar if it has a planar embedding having at most k layers. 3 3 3 3 3 3 3 Fact: Every k-outerplanar graph has treewidth at most 3k + 1.
  • 36. Building Blocks of the Technique r For vertex v of a graph G and integer r ≥ 1, we denote by Gv the subgraph of G induced by vertices within distance r from v in G .
  • 37. Building Blocks of the Technique r For vertex v of a graph G and integer r ≥ 1, we denote by Gv the subgraph of G induced by vertices within distance r from v in G . Lemma Let G be a planar graph, v ∈ V (G ) and r ≥ 1. Then r tw(Gv ) ≤ 18(r + 1). Proof. On board.
  • 38. Building Blocks of the Technique r For vertex v of a graph G and integer r ≥ 1, we denote by Gv the subgraph of G induced by vertices within distance r from v in G . Lemma Let G be a planar graph, v ∈ V (G ) and r ≥ 1. Then r tw(Gv ) ≤ 18(r + 1). Proof. On board. 18(r + 1) in the above proof can be made 3r + 1. Lemma Let v be a vertex of a planar graph G and let Li , be the vertices of G at distance i, 0 ≤ i ≤ n, from v . Then for any i, j ≥ 0, the treewidth of the subgraph Gi,i+j induced by vertices in Li ∪ Li+1 ∪ · · · ∪ Li+ j does not exceed 3j + 1. Proof. On board.
  • 39. Intuition The idea behind the shifting technique is as follows. Pick a vertex v of planar graph G and run breadth-first search (BFS) from v . For any i, j ≥ 0, the treewidth of the subgraph Gi,i+j induced by vertices in levels i, i + 1, . . . , i + j of BFS does not exceed 3j + 1. Now for an appropriate choice of parameters, we can find a“shift” of “windows”, i.e. a disjoint set of a small number of consecutive levels of BFS, “covering” the solution. Because every window is of small treewidth, we can employ the dynamic programing or the power of Courcelle’s theorem to solve the problem. We will see two examples.
  • 40. Intuition The idea behind the shifting technique is as follows. Pick a vertex v of planar graph G and run breadth-first search (BFS) from v . For any i, j ≥ 0, the treewidth of the subgraph Gi,i+j induced by vertices in levels i, i + 1, . . . , i + j of BFS does not exceed 3j + 1. Now for an appropriate choice of parameters, we can find a“shift” of “windows”, i.e. a disjoint set of a small number of consecutive levels of BFS, “covering” the solution. Because every window is of small treewidth, we can employ the dynamic programing or the power of Courcelle’s theorem to solve the problem. We will see two examples.
  • 41. Intuition The idea behind the shifting technique is as follows. Pick a vertex v of planar graph G and run breadth-first search (BFS) from v . For any i, j ≥ 0, the treewidth of the subgraph Gi,i+j induced by vertices in levels i, i + 1, . . . , i + j of BFS does not exceed 3j + 1. Now for an appropriate choice of parameters, we can find a“shift” of “windows”, i.e. a disjoint set of a small number of consecutive levels of BFS, “covering” the solution. Because every window is of small treewidth, we can employ the dynamic programing or the power of Courcelle’s theorem to solve the problem. We will see two examples.
  • 42. Intuition The idea behind the shifting technique is as follows. Pick a vertex v of planar graph G and run breadth-first search (BFS) from v . For any i, j ≥ 0, the treewidth of the subgraph Gi,i+j induced by vertices in levels i, i + 1, . . . , i + j of BFS does not exceed 3j + 1. Now for an appropriate choice of parameters, we can find a“shift” of “windows”, i.e. a disjoint set of a small number of consecutive levels of BFS, “covering” the solution. Because every window is of small treewidth, we can employ the dynamic programing or the power of Courcelle’s theorem to solve the problem. We will see two examples.
  • 43. Subgraph Isomorphism Subgraph Isomorphism: given graphs H and G , find a copy of H in G as subgraph. Parameter k := |V (H)|. EMSO formula of size k O(1) for Subgraph Isomorphism exists. This now using Courcelle’s Theorem implies that we have f (k, w ) · n time algorithm for Subgraph Isomorphism on graphs of treewidth w .
  • 44. Subgraph Isomorphism Subgraph Isomorphism: given graphs H and G , find a copy of H in G as subgraph. Parameter k := |V (H)|. EMSO formula of size k O(1) for Subgraph Isomorphism exists. This now using Courcelle’s Theorem implies that we have f (k, w ) · n time algorithm for Subgraph Isomorphism on graphs of treewidth w .
  • 45. Subgraph Isomorphism Subgraph Isomorphism: given graphs H and G , find a copy of H in G as subgraph. Parameter k := |V (H)|. EMSO formula of size k O(1) for Subgraph Isomorphism exists. This now using Courcelle’s Theorem implies that we have f (k, w ) · n time algorithm for Subgraph Isomorphism on graphs of treewidth w .
  • 46. Baker’s shifting strategy Subgraph Isomorphism for planar graphs: given planar graphs H and G , find a copy of H in G as subgraph. Parameter k := |V (H)|. Layers of the planar graph: (as in the definition of k-outerplanar): For a fixed 0 ≤ s < k + 1, delete every layer Li with i = s (mod k + 1) The resulting graph is k-outerplanar, hence it has treewidth at most 3k + 1. Using the f (k, w ) · n time algorithm for Subgraph Isomorphism, the problem can be solved in time f (k, 3k + 1) · n. We do this for every 0 ≤ s < k + 1: for at least one value of s, we do not delete any of the k vertices of the solution =⇒ we find a copy of H in G if there is one. Subgraph Isomorphism for planar graphs is FPT parameterized by k := |V (H)|.
  • 47. Baker’s shifting strategy Subgraph Isomorphism for planar graphs: given planar graphs H and G , find a copy of H in G as subgraph. Parameter k := |V (H)|. Layers of the planar graph: (as in the definition of k-outerplanar): For a fixed 0 ≤ s < k + 1, delete every layer Li with i = s (mod k + 1) The resulting graph is k-outerplanar, hence it has treewidth at most 3k + 1. Using the f (k, w ) · n time algorithm for Subgraph Isomorphism, the problem can be solved in time f (k, 3k + 1) · n. We do this for every 0 ≤ s < k + 1: for at least one value of s, we do not delete any of the k vertices of the solution =⇒ we find a copy of H in G if there is one. Subgraph Isomorphism for planar graphs is FPT parameterized by k := |V (H)|.
  • 48. Baker’s shifting strategy Subgraph Isomorphism for planar graphs: given planar graphs H and G , find a copy of H in G as subgraph. Parameter k := |V (H)|. Layers of the planar graph: (as in the definition of k-outerplanar): For a fixed 0 ≤ s < k + 1, delete every layer Li with i = s (mod k + 1) The resulting graph is k-outerplanar, hence it has treewidth at most 3k + 1. Using the f (k, w ) · n time algorithm for Subgraph Isomorphism, the problem can be solved in time f (k, 3k + 1) · n. We do this for every 0 ≤ s < k + 1: for at least one value of s, we do not delete any of the k vertices of the solution =⇒ we find a copy of H in G if there is one. Subgraph Isomorphism for planar graphs is FPT parameterized by k := |V (H)|.
  • 49. Baker’s shifting strategy Subgraph Isomorphism for planar graphs: given planar graphs H and G , find a copy of H in G as subgraph. Parameter k := |V (H)|. Layers of the planar graph: (as in the definition of k-outerplanar): For a fixed 0 ≤ s < k + 1, delete every layer Li with i = s (mod k + 1) The resulting graph is k-outerplanar, hence it has treewidth at most 3k + 1. Using the f (k, w ) · n time algorithm for Subgraph Isomorphism, the problem can be solved in time f (k, 3k + 1) · n. We do this for every 0 ≤ s < k + 1: for at least one value of s, we do not delete any of the k vertices of the solution =⇒ we find a copy of H in G if there is one. Subgraph Isomorphism for planar graphs is FPT parameterized by k := |V (H)|.
  • 50. Baker’s shifting strategy Subgraph Isomorphism for planar graphs: given planar graphs H and G , find a copy of H in G as subgraph. Parameter k := |V (H)|. Layers of the planar graph: (as in the definition of k-outerplanar): For a fixed 0 ≤ s < k + 1, delete every layer Li with i = s (mod k + 1) The resulting graph is k-outerplanar, hence it has treewidth at most 3k + 1. Using the f (k, w ) · n time algorithm for Subgraph Isomorphism, the problem can be solved in time f (k, 3k + 1) · n. We do this for every 0 ≤ s < k + 1: for at least one value of s, we do not delete any of the k vertices of the solution =⇒ we find a copy of H in G if there is one. Subgraph Isomorphism for planar graphs is FPT parameterized by k := |V (H)|.
  • 51. Baker’s shifting strategy Subgraph Isomorphism for planar graphs: given planar graphs H and G , find a copy of H in G as subgraph. Parameter k := |V (H)|. Layers of the planar graph: (as in the definition of k-outerplanar): For a fixed 0 ≤ s < k + 1, delete every layer Li with i = s (mod k + 1) The resulting graph is k-outerplanar, hence it has treewidth at most 3k + 1. Using the f (k, w ) · n time algorithm for Subgraph Isomorphism, the problem can be solved in time f (k, 3k + 1) · n. We do this for every 0 ≤ s < k + 1: for at least one value of s, we do not delete any of the k vertices of the solution =⇒ we find a copy of H in G if there is one. Subgraph Isomorphism for planar graphs is FPT parameterized by k := |V (H)|.
  • 52. Baker’s shifting strategy Subgraph Isomorphism for planar graphs: given planar graphs H and G , find a copy of H in G as subgraph. Parameter k := |V (H)|. Layers of the planar graph: (as in the definition of k-outerplanar): For a fixed 0 ≤ s < k + 1, delete every layer Li with i = s (mod k + 1) The resulting graph is k-outerplanar, hence it has treewidth at most 3k + 1. Using the f (k, w ) · n time algorithm for Subgraph Isomorphism, the problem can be solved in time f (k, 3k + 1) · n. We do this for every 0 ≤ s < k + 1: for at least one value of s, we do not delete any of the k vertices of the solution =⇒ we find a copy of H in G if there is one. Subgraph Isomorphism for planar graphs is FPT parameterized by k := |V (H)|.
  • 53. Baker’s shifting strategy Subgraph Isomorphism for planar graphs: given planar graphs H and G , find a copy of H in G as subgraph. Parameter k := |V (H)|. Layers of the planar graph: (as in the definition of k-outerplanar): For a fixed 0 ≤ s < k + 1, delete every layer Li with i = s (mod k + 1) The resulting graph is k-outerplanar, hence it has treewidth at most 3k + 1. Using the f (k, w ) · n time algorithm for Subgraph Isomorphism, the problem can be solved in time f (k, 3k + 1) · n. We do this for every 0 ≤ s < k + 1: for at least one value of s, we do not delete any of the k vertices of the solution =⇒ we find a copy of H in G if there is one. Subgraph Isomorphism for planar graphs is FPT parameterized by k := |V (H)|.
  • 54. Baker’s shifting strategy Subgraph Isomorphism for planar graphs: given planar graphs H and G , find a copy of H in G as subgraph. Parameter k := |V (H)|. Layers of the planar graph: (as in the definition of k-outerplanar): For a fixed 0 ≤ s < k + 1, delete every layer Li with i = s (mod k + 1) The resulting graph is k-outerplanar, hence it has treewidth at most 3k + 1. Using the f (k, w ) · n time algorithm for Subgraph Isomorphism, the problem can be solved in time f (k, 3k + 1) · n. We do this for every 0 ≤ s < k + 1: for at least one value of s, we do not delete any of the k vertices of the solution =⇒ we find a copy of H in G if there is one. Subgraph Isomorphism for planar graphs is FPT parameterized by k := |V (H)|.
  • 55. Baker’s shifting strategy Subgraph Isomorphism for planar graphs: given planar graphs H and G , find a copy of H in G as subgraph. Parameter k := |V (H)|. Layers of the planar graph: (as in the definition of k-outerplanar): For a fixed 0 ≤ s < k + 1, delete every layer Li with i = s (mod k + 1) The resulting graph is k-outerplanar, hence it has treewidth at most 3k + 1. Using the f (k, w ) · n time algorithm for Subgraph Isomorphism, the problem can be solved in time f (k, 3k + 1) · n. We do this for every 0 ≤ s < k + 1: for at least one value of s, we do not delete any of the k vertices of the solution =⇒ we find a copy of H in G if there is one. Subgraph Isomorphism for planar graphs is FPT parameterized by k := |V (H)|.
  • 56. Bisection For a given n-vertex graph G , weight function w : V (G ) → N and integer k, the task is to decide if there is a partition of V (G ) into sets V1 and V2 of weights w (V (G ))/2 and w (V (G )/2 and such that the number of edges between V1 and V2 is at most k. In other words, we are looking for a balanced partition (V1 , V2 ) with a (V1 , V2 )-cut at most k.
  • 57. Bisection For a given n-vertex graph G , weight function w : V (G ) → N and integer k, the task is to decide if there is a partition of V (G ) into sets V1 and V2 of weights w (V (G ))/2 and w (V (G )/2 and such that the number of edges between V1 and V2 is at most k. In other words, we are looking for a balanced partition (V1 , V2 ) with a (V1 , V2 )-cut at most k. Lemma Bisection is solvable in time 2t · nO(1) on an n-vertex given together with its tree decomposition of width t. Theorem Bisection on planar graphs is solvable in time 2O(k) · nO(1) . Proof. On board.
  • 58. Approximation schemes Definition: A polynomial-time approximation scheme (PTAS) for a problem P is an algorithm that takes an instance of P and a rational number ε > 0, always finds a (1 + ε)-approximate solution, the running time is polynomial in n for every fixed ε > 0. 2 Typical running times: 21/ε · n, n1/ε , (n/ε)2 , n1/ε . Some classical problems that have a PTAS: Independent Set for planar graphs TSP in the Euclidean plane Steiner Tree in planar graphs Knapsack
  • 59. Baker’s shifting strategy for EPTAS Fact: There is a 2O(1/ε) · n time PTAS for Independent Set for planar graphs. Let D := 1/ε. For a fixed 0 ≤ s < D, delete every layer Li with i = s (mod D) The resulting graph is D-outerplanar, hence it has treewidth at most 3D + 1 = O(1/ε). Using the O(2w · n) time algorithm for Independent Set, the problem can be solved in time 2O(1/ε) · n. We do this for every 0 ≤ s < D: for at least one value of s, we delete at most 1/D = ε fraction of the solution =⇒ we get a (1 − ε)-approximate solution.