A polynomial time algorithm for bounded directed pathwidth Hisao Tamaki Meiji University
Directed pathwidth/decomposition A directed path-decomposition of π» π» π 1 π 2 π 3 π 4 π 5 f b f c d a e e c g g g g g b a d 1. for each π€ β π(π») , π½ π€ = π π€ β π π + is a single non- empty interval 2. for each directed edge (π£, π€) there is a pair π β€ π such that π£ β π π and π€ β π π
Undirected Directed pathwidth/decomposition A directed path-decomposition of π» π» π 1 π 2 π 3 π 4 π 5 f b f c d a e e c g g g g g b a d 1. for each π€ β π(π») , π½ π€ = π π€ β π π + is a single non- empty interval some π *π£, π€+ 2. for each directed edge (π£, π€) there is a pair π β€ π such ---------- π£, π€ β π π that π£ β π π and π€ β π π
Directed pathwidth/decomposition A directed path-decomposition of π» π» π 1 π 2 π 3 π 4 π 5 f b f c d a e e c g g g g g b a d 1. for each π€ β π(π») , π½ π€ = π π€ β π π + is a single non- empty interval 2. for each directed edge (π£, π€) there is a pair π β€ π such that π£ β π π and π€ β π π
Directed pathwidth/decomposition A directed path-decomposition of π» π» π 1 π 2 π 3 π 4 π 5 f b f c d a e e c g g g g g b a d 1. for each π€ β π(π») , π½ π€ = π π€ β π π + is a single non- empty interval 2. for each directed edge (π£, π€) there is a pair π β€ π such that π£ β π π and π€ β π π
Directed pathwidth/decomposition A directed path-decomposition of π» π» π 1 π 2 π 3 π 4 π 5 f b f c d a e e c g g g g g b a d 1. for each π€ β π(π») , π½ π€ = π π€ β π π + is a single non- empty interval 2. for each directed edge (π£, π€) there is a pair π β€ π such that π£ β π π and π€ β π π
Directed pathwidth/decomposition A directed path-decomposition of π» π» π 1 π 2 π 3 π 4 π 5 f b f c d a e e c g g g g g b a d 1. for each π€ β π(π») , π½ π€ = π π€ β π π + is a single non- empty interval 2. for each directed edge (π£, π€) there is a pair π β€ π such that π£ β π π and π€ β π π
Directed pathwidth/decomposition A directed path-decomposition of π» π» π 1 π 2 π 3 π 4 π 5 f b f c d a e e c g g g g g b a d 1. for each π€ β π(π») , π½ π€ = π π€ β π π + is a single non- empty interval 2. for each directed edge (π£, π€) there is a pair π β€ π such that π£ β π π and π€ β π π
Directed pathwidth/decomposition A directed path-decomposition of π» π» π 1 π 2 π 3 π 4 π 5 f b f c d a e e c g g g g g b a d 1. for each π€ β π(π») , π½ π€ = π π€ β π π + is a single non- empty interval 2. for each directed edge (π£, π€) there is a pair π β€ π such that π£ β π π and π€ β π π
Directed pathwidth/decomposition A directed path-decomposition of π» π» π 1 π 2 π 3 π 4 π 5 f b f c d a e e c g g g g g b a d 1. for each π€ β π(π») , π½ π€ = π π€ β π π + is a single non- empty interval 2. for each directed edge (π£, π€) there is a pair π β€ π such that π£ β π π and π€ β π π
Directed pathwidth/decomposition A directed path-decomposition of π» π» π 1 π 2 π 3 π 4 π 5 f b f c d a e e c g g g g g b a d 1. for each π€ β π(π») , π½ π€ = π π€ β π π + is a single non- empty interval 2. for each directed edge (π£, π€) there is a pair π β€ π such that π£ β π π and π€ β π π
Directed pathwidth/decomposition A directed path-decomposition of π» π» π 1 π 2 π 3 π 4 π 5 f b f c d a e e c g g g g g b a d ππͺπ±(π») = 1 width = 1 The width of a directed path-decomposition is πππ¦ π |π π | - 1. The directed pathwidth of π» is the minimum π₯ such that there is a directed path-decomposition of π» of width π₯ .
Observation 1 The problem of deciding the directed-pathwidth is a generalization of that of deciding the pathwidth. π» : undirected graph π» β: digraph with a pair of anti -parallel edges for each edge of π» π π π» π» β π£ π β€ π π β€ π π€ π π The condition for a path-decomposition of π» = the condition for a directed path-decomposition of π»β²
Observation 2 A directed path decomposition represents a linear system of dicuts. π π π π +1 π
Observation 2 A directed path-decomposition represents a linear system of dicuts of size at most the width. π β€π π >π π π π π +1 π£ π€ π
Some facts on directed pathwidth Introduced by Reed, Seymour, and Thomas in mid 90βs. Relates to directed treewidth [Johnson, Robertson, Seymour and Thomas 01], D-width [Safari 05], Dag-width [ Berwanger, Dawar, Hunter & Kreutzer 05, Obdrzalek 06], and Kelly-width[Hunter & Kreutzer 07] as pathwidth relates to treewidth. For digraphs of directed pathwidth π₯, some problems including directed Hamiltonian cycle can be solved in π π(π₯) time [JRST01] . Used in a heuristic algorithm for enumerating attractors of boolean networks [Tamaki 10].
Complexity Input: positive integer k and graph (digraph) G Q uestion : Is the (directed) pathwidth of G at most k ? NP-complete for the undirected case [Kashiwabara & Fujisawa 79] and hence for the directed case. Undirected pathwidth is fixed parameter tractable: π π π π(1) time: graph minor theorem 2 π π 3 π time: [Bodlaender 96, Bodlaender & Kloks 96] Directed pathwidth is open for FPT Even for k = 2, no polynomial time was previously known.
Result An π ππ π+1 time algorithm for deciding if the directed pathwidth is β€ π (and constructing the associated decomposition) for a digraph of π vertices and π edges. Note This algorithm is extremely simple, easy to implement, and useful even for undirected pathwidth/-decomposition (the linear time algorithm of Bodlaender depends exponentially on k 3 )
Notation π» : digraph, fixed π = π π» π = πΉ π» β π = π£ β π π£, π€ β πΉ π» , π€ β π + π : set of in-neighbors of π ο π(π») β (π) = |π β (π)| : in-degree of π ο π(π») π Ξ£(π» ) : the set of all non-duplicating sequences of vertices of π» π (Ο) : the set of vertices appearing in Ο οS ( G )
Directed vertex separation number A vertex sequence π β Ξ£ π» is π -feasible if π β π Ο β€ π for every prefix Ο of Ο. The directed vertex separation number of G : dvsn ( G ) = min π π β Ξ£ π» : π π = π(π») and Ο is π -feasible + Fact: dvsn ( G ) = dpw ( G ) The conversion from a vertex separation sequence to a directed path-decomposition is straightforward.
Search tree for k -feasible sequences π» {} 0 π = 2 b d {a} 2 {b} 1 {c} 2 {d} 2 {e} 2 c a {d,e} 2 {a,b} 2 {a,c} 4 {a,d} 3 {a,e} 3 e {a,b,c} 3 {a,b,c} 3 {a,b,d} 3 {a,b,e} 3 {c,d,e} 1 {b,c,d,e} 0 Vertex sets in the search tree are feasible. {a,b,c,d,e} 0 Those leading to a solution are strongly feasible.
Commitment: a special case π π Adding π€ does not increase the indegree. π βͺ π€ β€π Is it safe to commit to this child? In other words, is it true that if π is strongly feasible then π βͺ π€ is?
Commitment: a special case π π Adding π€ does not increase the in-degree. π βͺ π€ β€π Is it safe to commit to this child? In other words, is it true that if π is strongly feasible then π βͺ π€ is? YES, in a more genral form
Commitment in general form π π πβ² >π First decsendant with the same or smaller π β€π in-degree. Commitment lemma Let π β π both feasible and suppose: 1. π β π β€ π β π , 2. π β πβ² > π β π for every feasible proper superset π β² of π strictly smaller than π , and 3. π is strongly feasible. Then π is strongly feasible.
Search tree pruning based on commitment When a node has a descendant to which it can commit, all other descendants are removed from the tree. Effectively, branching occurs only when the in-degree increases. The pruned tree behaves like a depth π tree in a fuzzy sense. Can show, with some technicality, that the size of the pruned tree is at most π π+1 .
Proof of the commitment lemma Fact: β is submodular : The in-degree function π for every pair of subsets π, π β π (π» ), β π + π β π β₯ π β (π β© π ) + π β (π βͺ π ) π
Proof of the commitment lemma Step 1 : β π β€ π β (π) Let π and π as in the lemma. Then , π holds for every π such that π ο π ο π . (Even if π is not feasible.) Step 2 : Using the condition established in Step 1, derive the strong feasibility of π from that of π .
Recommend
More recommend