110 likes | 246 Views
Tree Decompositions and Fixed Parameter Tractability of k -Path. Tree Decomposition. Every edge is in a red ellipse (the bags). The bags are connected in a tree . The bags an original vertex is part of are connected . Example : Independent Set. The root. The k-Path Problem.
E N D
TreeDecomposition • Everyedge is in a red ellipse (the bags). • The bags are connected in a tree. • The bags an original vertex is part of are connected.
Example: Independent Set The root
The k-Path Problem Directed Weighted w1 w3 w2 w4 w5 w6 w7 w9 w8 w10 w11
Complexity • Recursivelybuildpaths: O(nk) • Can there be algorithms with runtimes on the form f(k)nO(1)? … and if so, how small canf(k) be?
Intuition for FPT Considerregulargraphs of degree d: Eitherd>k: There must be k-path. Or d<=k: Wecan list all potential k-paths in ndk<=nkktime.
Bodlaender 2kk!nO(1) Depth First Search B6 <k? B1 B2 B4 B3 B5
Bodlaender 2kk!nO(1) B1 B2 B3 B4 B6 B5
Color codingAlon, Yuster, and Zwick 1 3 5 2 4 6 Prob[rainbowk-path] >= k!/kk ~ e-k
Color codingAlon, Yuster, and Zwick • Dynamicprogramming over color subsets. • LetD(X,v,k) be Trueiffthere is a path of length k ending in vertex v whosevertices are colored as X.