Presentation is loading. Please wait.

Presentation is loading. Please wait.

Treewidth meets Planarity

Similar presentations


Presentation on theme: "Treewidth meets Planarity"β€” Presentation transcript:

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)


Download ppt "Treewidth meets Planarity"

Similar presentations


Ads by Google