Download presentation
Presentation is loading. Please wait.
1
Treewidth meets Planarity
Jesper Nederlof CO seminar 15/02/2019, Eindhoven
2
Treewidth meets Planar Separator Theorem
Treewidth measures how well a graph can be `decomposedβ in a tree-like way Especially effective for planar graphs: Planar separator theorem: If πΊ is planar, can partition π(πΊ) in π΄,π,π΅ such that no edges between π΄ and π΅, π β€11 π , π΄ , π΅ β€9π/10. A B S
3
Treewidth meets Planar Separator Theorem
Max Independent set (IS): Given πΊ=(π,πΈ) find largest πβπ without edges Thm: Max IS on planar graphs in 2 π( π) time Let S be separator, π 1 ,β¦, π π be connected components of πΊ πβπ For every independent set π of πΊ[π] Recursively find max IS of πΊ[ π π βπ(π)] for π=1,β¦,π Return union with π Recurrence: π π β€ 2 π ( π π π π ) Can show that π fits for π large enough easily: T(n) β€ n π T(9n/10) β€π π π/10 β€ π
4
Treewidth Refer to βΒ Β Β Β Β as a bag. Definition A tree decomposition of graph πΊ= π,πΈ is a pair (π,π) where π={ π 1 ,β¦, π π } with π π βπ and π a tree with vertex set π such that π=1 π π π =π , πΈβ π=1 π π π Γ π π , βπ£βπ: all π π containing π£ induce connected subtree if π.
5
Treewidth Refer to βΒ Β Β Β Β as a bag. Definition A tree decomposition of graph πΊ= π,πΈ is a pair (π,π) where π={ π 1 ,β¦, π π } with π π βπ and π a tree with vertex set π such that π=1 π π π =π , πΈβ π=1 π π π Γ π π , βπ£βπ: all π π containing π£ induce connected subtree if π.
6
Treewidth Definition a b c d f g h e
Refer to βΒ Β Β Β Β as a bag. Definition A tree decomposition of graph πΊ= π,πΈ is a pair (π,π) where π={ π 1 ,β¦, π π } with π π βπ and π a tree with vertex set π such that π=1 π π π =π , πΈβ π=1 π π π Γ π π , βπ£βπ: all π π containing π£ induce connected subtree if π. a b c d f g h e
7
Treewidth Definition d b a a b c d e f g h
Refer to βΒ Β Β Β Β as a bag. Definition A tree decomposition of graph πΊ= π,πΈ is a pair (π,π) where π={ π 1 ,β¦, π π } with π π βπ and π a tree with vertex set π such that π=1 π π π =π , πΈβ π=1 π π π Γ π π , βπ£βπ: all π π containing π£ induce connected subtree if π. d b a a b c d e f g h
8
Treewidth Definition d b a a b c d g b d e f g h
Refer to βΒ Β Β Β Β as a bag. Definition A tree decomposition of graph πΊ= π,πΈ is a pair (π,π) where π={ π 1 ,β¦, π π } with π π βπ and π a tree with vertex set π such that π=1 π π π =π , πΈβ π=1 π π π Γ π π , βπ£βπ: all π π containing π£ induce connected subtree if π. d b a a b c d g b d e f g h
9
Treewidth Definition d b a a b c d g b d e f g d f g h
Refer to βΒ Β Β Β Β as a bag. Definition A tree decomposition of graph πΊ= π,πΈ is a pair (π,π) where π={ π 1 ,β¦, π π } with π π βπ and π a tree with vertex set π such that π=1 π π π =π , πΈβ π=1 π π π Γ π π , βπ£βπ: all π π containing π£ induce connected subtree if π. d b a a b c d g b d e f g d f g h
10
Treewidth Definition d b a a b c d g b b e g d e f g d f g h
Refer to βΒ Β Β Β Β as a bag. Definition A tree decomposition of graph πΊ= π,πΈ is a pair (π,π) where π={ π 1 ,β¦, π π } with π π βπ and π a tree with vertex set π such that π=1 π π π =π , πΈβ π=1 π π π Γ π π , βπ£βπ: all π π containing π£ induce connected subtree if π. d b a a b c d g b b e g d e f g d f g h
11
Treewidth Definition c e b d b a a b c d g b b e g d e f g d f g h
Refer to βΒ Β Β Β Β as a bag. Definition A tree decomposition of graph πΊ= π,πΈ is a pair (π,π) where π={ π 1 ,β¦, π π } with π π βπ and π a tree with vertex set π such that π=1 π π π =π , πΈβ π=1 π π π Γ π π , βπ£βπ: all π π containing π£ induce connected subtree if π. c e b d b a a b c d g b b e g d e f g d f g h
12
Treewidth Definition c e b d b a a b c d g b b e g d e f g d g h e f g
Refer to βΒ Β Β Β Β as a bag. Definition A tree decomposition of graph πΊ= π,πΈ is a pair (π,π) where π={ π 1 ,β¦, π π } with π π βπ and π a tree with vertex set π such that π=1 π π π =π , πΈβ π=1 π π π Γ π π , βπ£βπ: all π π containing π£ induce connected subtree if π. Separates a, f and ceh. c e b d b a a b c d g b b e g d e f g d g h e f g h
13
Treewidth Definition Definition
Refer to βΒ Β Β Β Β as a bag. Definition A tree decomposition of graph πΊ= π,πΈ is a pair (π,π) where π={ π 1 ,β¦, π π } with π π βπ and π a tree with vertex set π such that π=1 π π π =π , πΈβ π=1 π π π Γ π π , βπ£βπ: all π π containing π£ induce connected subtree if π. Definition The width of a treedecomposition is βΒ Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β . The treewidth of a graph is the minimum width among all possible tree decompositions ofΒ G.
14
Treewidth meets Planar Separator Theorem
Treewidth is very useful because many NP-complete problems can be solved in π π‘π€ π (or more generally π π‘π€ π)on π-vertex graphs of treewidth π‘π€ Cool question: try to find optimal π! For example: Thm[CKN]: Hamiltonian cycle in ππ€ π π(1) , and not in βπ ππ€ π π(1) unless π-var CNF-SAT in 2βπ π π π(1)
15
Graph Minor π» is a minor of πΊ: π» can be obtained from πΊ with edge deletion, vertex deletion and edge contraction Edge contraction: is a minor of d e a b c f g h i a b c f g h de i Fact: If π» is a minor of πΊ and πΊ has treewidth π‘π€, then π» has treewidth at most π‘π€.
16
Grid Minors (πΓπ)-grid Grid Minor Theorem
For every integer π, every planar graph either has a (πΓπ)-grid as a minor, or treewidth at most 9π. Proof uses max-flow min-cut arguments Def (π-outer planar graphs): If you subsequently remove the vertices on the outer boundary π times, you removed all vertices. A minor of an π-outer planar graph is π-outerplanar, thus: π-outer planar graphs have no (πΓπ)-grid minor, thus: π-outer planar graphs have treewidth π(π).
17
Bakerβs approach for approximation in planar graphs
Given planar graph πΊ. Finds IS of size 1βπ |πππ| in π(2 π(1/π) π 2 ) time Pick vertex π arbitrarily. Do BFS from π Let πΏ π be all vertices at distance π Let π=1/π Let π π = πβ π (πππ π) πΏ π s πΏ 1 πΏ 2 πΏ 3 πΏ 4 πΏ π
18
Bakerβs approach for approximation in planar graphs
Given planar graph πΊ. Finds IS of size 1βπ |πππ| in π(2 π(1/π) π 2 ) time Pick vertex π arbitrarily. Do BFS from π Let πΏ π be all vertices at distance π Let π=1/π Let π π = πβ π (πππ π) πΏ π For π=1,β¦,π Find max size IS of πΊ π π Can be done in 2 π(π) π time: all components of πΊ π π are π-outer-planar! Thus 2 π‘π€ π runs in 2 π π= 2 1/π π time Return largest IS found s πΏ 1 πΏ 2 πΏ 3 πΏ 4 πΏ π For πβ π, πβπ π is disjoint from πβ π π , thus for some π: πππβ© π π β₯|πππ|(1β1/π)
19
`Bidimensionalityβ Fancy word for relatively simple `win/winβ trick.
Say want to determine if πΊ has a simple path on π vertices Think πβͺπ If πΊ has a ( π Γ π )-grid minor -> YES Otherwise treewidth π( π ) Can solve the problem in 2 π( π ) π π(1) time Doesnβt work for all problems β¦
20
Theorem(FLMPPS, FOCSβ16)
Beyond Bidimensionality Theorem(FLMPPS, FOCSβ16) Given planar graph πΊ and int π, can in poly time sample π΄βπ(πΊ) s.t.: πΊ[π΄] has treewidth π( π log π ), for each πβ π(πΊ) β€π with πΊ[π] connected, Pr πβπ΄ β₯ (2 π π |π|) β1 . New problems solvable in 2 π π probabilistic time. For example: Weighted, Directed π-path, cycle of length exactly π Subgraph Isomorphism with π-vertex connected pattern of bounded degree Still leaves open challenges: Derandomize Relax connectivity restriction 2 π π time for counting variants (in [FLMPPS]) (in several open problem sessions/talks)
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.