Treewidth I (Algorithms and Networks)

Total Page:16

File Type:pdf, Size:1020Kb

Treewidth I (Algorithms and Networks) Treewidth Algorithms and Networks Overview • Historic introduction: Series parallel graphs • Dynamic programming on trees • Dynamic programming on series parallel graphs • Treewidth • Dynamic programming on graphs of small treewidth • Finding tree decompositions 2 Treewidth Computing the Resistance With the Laws of Ohm = + 1 1 1 1789-1854 R R1 R2 = + R R1 R2 R1 R2 R1 Two resistors in series R2 Two resistors in parallel 3 Treewidth Repeated use of the rules 6 6 5 2 2 1 7 Has resistance 4 1/6 + 1/2 = 1/(1.5) 1.5 + 1.5 + 5 = 8 1 + 7 = 8 1/8 + 1/8 = 1/4 4 Treewidth 5 6 6 5 2 2 1 7 A tree structure tree A 5 6 P S 2 P 6 P 2 7 S Treewidth 1 Carry on! • Internal structure of 6 6 5 graph can be forgotten 2 2 once we know essential information 1 7 about it! 4 ¼ + ¼ = ½ 6 Treewidth Using tree structures for solving hard problems on graphs 1 • Network is ‘series parallel graph’ • 196*, 197*: many problems that are hard for general graphs are easy for e.g.: – Trees NP-complete – Series parallel graphs • Many well-known problems Linear / polynomial time computable 7 Treewidth Weighted Independent Set • Independent set: set of vertices that are pair wise non-adjacent. • Weighted independent set – Given: Graph G=(V,E), weight w(v) for each vertex v. – Question: What is the maximum total weight of an independent set in G? • NP-complete 8 Treewidth Weighted Independent Set on Trees • On trees, this problem can be solved in linear time with dynamic programming. • Choose root r. For each v, T(v) is subtree with v as root. • Write A(v) = maximum weight of independent set S in T(v) B(v) = maximum weight of independent set S in T(v), such that v ∉ S. 9 Treewidth Recursive formulations • If v is a leaf: – A(v) = w(v) – B(v) = 0 • If v has children x1, … , xr: A(v) = max{ w(v) + B(x1) + … + B(xr) , A(x1) + … A(xr) } B(v) = A(x1) + … A(xr) 10 Treewidth Linear time algorithm • Compute A(v) and B(v) for each v, bottom- up. – E.g., in postorder • Constructing corresponding sets can also be done in linear time. 11 Treewidth Second example: Weighted dominating set • A set of vertices S is dominating, if each vertex in G belongs to S or is adjacent to a vertex in S. • Problem: given a graph G with vertex weights, what is the minimum total weight of a dominating set in G? • Again, NP-complete, but linear time on trees. 12 Treewidth Subproblems • C(v) = minimum weight of dominating set S of T(v) • D(v) = minimum weight of dominating set S of T(v) with v ∈ S. • E(v) = minimum weight of a set S of T(v) that dominates all vertices, except possibly v. 13 Treewidth Recursive formulations • If v is a leaf, … • If v has children x1, … , xr: – C(v) = the minimum of: • w(v) + E(x1) + … + E(xr) • C(x1) + … + C(xi-1) + D(xi) + C(xi+1) + … + C(xr), over all i, 1 ≤ i ≤ r. – D(v) = w(v) + E(x1) + … + E(xr) – E(v) = min { w(v) + E(x1) + … + E(xr), C(x1) + … + C(xr) } 14 Treewidth Gives again a linear time algorithm • Compute bottom up (e.g., postorder), and use another type of dynamic programming for the values C(v). • Constructing sets can also be done in linear time 15 Treewidth Generalizing to series parallel graphs • A 2-terminal graph is a graph = ( , ) with two special vertices and , its terminals. • A 2-terminal (multi)-graph is series parallel , when it is: – A single edge ( , ). – Obtained by series composition of 2 series parallel graphs – Obtained by parallel composition of 2 series parallel graphs 16 Treewidth Series composition s1 s1 s2 + s2s2=t 1 t1 t2 t2 17 Treewidth Parallel composition s s 1 2 s1s1=s 2 + t t 1 2 t1t1=t 2 18 Treewidth 19 6 6 5 2 2 1 7 Series Parallel Series Parallel Graphs 5 havean 6 P S 2 P P 6 SP 2 - tree 7 S Treewidth 1 5 ( ) • Associate to each node of SP 6 2 tree a 2-terminal graph ( ). P S S 6 2 P P 5 7 1 6 2 6 2 20 Treewidth Maximum weighted independent set for series parallel graphs ( ), say with terminals s and t ( ) = maximum weight of independent set S of • () with s ∈ S, t ∈ S • () = maximum weight of independent set S of () with s ∉ S, t ∈ S • () = maximum weight of independent set S of () with s ∈ S, t ∉ S • () = maximum weight of independent set S of () with s ∉ S, t ∉ S • 21 Treewidth Maximum weighted independent set of series parallel graphs 2 • Computing AA, AB, BA, BB for – Leaves of SP-tree: trivial – Series, parallel composition: case analysis, using values for sub-sp-graphs ( 1), ( 2) – E.g., series operation, terminal between 1 and 2 ( ) = max { ( 1)푠+ ( 2) – ( ), ( 1) + ( 2) } • 푠 (1) time per node of SP-tree: ( ) total. 22 Treewidth • Many generalizations • Many other problems • Other classes of graphs to which we can assign a tree-structure, including – Graphs of treewidth , for small . 23 Treewidth Idea of treewidth (intuition) -terminal graph: = ( , , ) | | = • Operations on -terminal graphs with • – Take a 1-terminal graph with one vertex – Add a new terminal vertex with edges only ≤ to (some of) the terminal vertices – Make a terminal vertex `normal’ – Join two -terminal graphs by `gluing’ • Treewidth is (plus/minus 1) number of terminals needed to build graph 24 Treewidth Join (“gluing”) = + 25 Treewidth Tree decomposition g A tree decomposition: a h – Tree with a vertex set b c associated to every node. f e – For all edges , d a a g : there is a set containing c f a g h both and . ∈ b c f – For every : the nodes that contain form a c d connected subtree.∈ e 26 Treewidth Tree decomposition g A tree decomposition: a h – Tree with a vertex set b c associated to every node. f e – For all edges , d a a g : there is a set containing c f a g h both and . ∈ b c f – For every : the nodes that contain form a c d connected subtree.∈ e 27 Treewidth Treewidth (definition) g a h • Width of tree b c f decomposition: d e max | X | −1 a a g i∈I i b c c f a f g h • Treewidth of graph : ( )= minimum c d width over all tree e a b c decompositions of . e f d g h 28 Treewidth Some graphs have small treewidth • Appearing in some applications (e.g., probabilistic networks) • Trees have treewidth 1 • Series Parallel graphs have treewidth 2. • … 29 Treewidth Trees have treewidth one • Choose a root a = { }, • Take and for each other node : b e = { , ( )} c a with these bags d gives a tree • decomposition of b a e a width 2 c b d b 30 Treewidth Algorithms using tree decompositions • Step 1: Find a tree decomposition of width bounded by some small . – Heuristics. – ( ( ) ) in theory. – Fast ( ) algorithms for = 2, = 3. – By construction, e.g., for trees, sp-graphs. • Step 2. Use dynamic programming, bottom- up on the tree. 31 Treewidth Separator property w i v If both v and w not in Xi, then v and w are not adjacent 33 Treewidth Nice tree decompositions • Rooted tree, and four types of nodes i: – Leaf: leaf of tree with |Xi| = 1. – Join: node with two children j, j’ with Xi = Xj = Xj’. – Introduce: node with one child j with Xi = Xj ∪ {v} for some vertex v – Forget: node with one child j with Xi = Xj − {v} for some vertex v • There is always a nice tree decomposition with the same width. 34 Treewidth Transformation to a nice tree decomposition • Step 1: Choose an arbitrary vertex as root • Step 2: Ensure that each node has at most 2 children: Xi Xi Xi Xj(q) Xi … Xj(1) Xj(2) … Xj(q) Xj(1) Xj(2) 35 Treewidth Transformation to a nice tree decomposition • Step 3: Turn binary nodes in join nodes Xi Xi Xj(1) Xj(2) Xi Xi Xj(1) Xj(2) 36 Treewidth Transformation to a nice tree decomposition • Step 4: Nodes with one child get a series of introduce and forget nodes Xi Above, Xi introduce vertices in Xi that are not in Xj Xj Below, forget vertices in Xj that are not in Xi Xj 37 Treewidth Transformation to a nice tree decomposition • Step 5: Ensure that leaf bags have size 1, by adding introduce nodes: v1 v2 … vr v1 v2 … v1 vr v2 … vr … Done! v1 v2 v1 38 Treewidth Define G(i) • Nice tree decomposition. • For each node i, G(i) subgraph of G, formed by all nodes in sets Xj, with j=i or j a descendant of i in tree. – Notate: G(i) = ( V(i), E(i) ). 39 Treewidth Leaf nodes • Let i be a leaf node. Say Xi = {v}. v G(i) is a graph with one vertex 40 Treewidth Join nodes • Let i be a join node with children j1, j1. • Example of how G(i) is build from G(j1) and G(j1): = + 41 Treewidth Introduce nodes • Let i be a node with child j, with Xi = Xj ∪ {v}. v • One new `terminal’ vertex which can only be adjacent to other terminal vertices 42 Treewidth Forget nodes • Let i be a node with child v j, with Xi = Xj − {v}. v • Same graph; one terminal vertex now is a normal vertex 43 Treewidth Maximum weighted independent set on graphs with treewidth k • For node i in tree decomposition, S ⊆ Xi write – R(i, S) = maximum weight of independent set W of G(i) with W ∩ Xi = S, • – ∞ if such W does not exist • We now see how to compute a table R(i,…) for all types of nodes 44 Treewidth Leaf nodes • Let i be a leaf node.
Recommended publications
  • On Treewidth and Graph Minors
    On Treewidth and Graph Minors Daniel John Harvey Submitted in total fulfilment of the requirements of the degree of Doctor of Philosophy February 2014 Department of Mathematics and Statistics The University of Melbourne Produced on archival quality paper ii Abstract Both treewidth and the Hadwiger number are key graph parameters in structural and al- gorithmic graph theory, especially in the theory of graph minors. For example, treewidth demarcates the two major cases of the Robertson and Seymour proof of Wagner's Con- jecture. Also, the Hadwiger number is the key measure of the structural complexity of a graph. In this thesis, we shall investigate these parameters on some interesting classes of graphs. The treewidth of a graph defines, in some sense, how \tree-like" the graph is. Treewidth is a key parameter in the algorithmic field of fixed-parameter tractability. In particular, on classes of bounded treewidth, certain NP-Hard problems can be solved in polynomial time. In structural graph theory, treewidth is of key interest due to its part in the stronger form of Robertson and Seymour's Graph Minor Structure Theorem. A key fact is that the treewidth of a graph is tied to the size of its largest grid minor. In fact, treewidth is tied to a large number of other graph structural parameters, which this thesis thoroughly investigates. In doing so, some of the tying functions between these results are improved. This thesis also determines exactly the treewidth of the line graph of a complete graph. This is a critical example in a recent paper of Marx, and improves on a recent result by Grohe and Marx.
    [Show full text]
  • Arxiv:2006.06067V2 [Math.CO] 4 Jul 2021
    Treewidth versus clique number. I. Graph classes with a forbidden structure∗† Cl´ement Dallard1 Martin Milaniˇc1 Kenny Storgelˇ 2 1 FAMNIT and IAM, University of Primorska, Koper, Slovenia 2 Faculty of Information Studies, Novo mesto, Slovenia [email protected] [email protected] [email protected] Treewidth is an important graph invariant, relevant for both structural and algo- rithmic reasons. A necessary condition for a graph class to have bounded treewidth is the absence of large cliques. We study graph classes closed under taking induced subgraphs in which this condition is also sufficient, which we call (tw,ω)-bounded. Such graph classes are known to have useful algorithmic applications related to variants of the clique and k-coloring problems. We consider six well-known graph containment relations: the minor, topological minor, subgraph, induced minor, in- duced topological minor, and induced subgraph relations. For each of them, we give a complete characterization of the graphs H for which the class of graphs excluding H is (tw,ω)-bounded. Our results yield an infinite family of χ-bounded induced-minor-closed graph classes and imply that the class of 1-perfectly orientable graphs is (tw,ω)-bounded, leading to linear-time algorithms for k-coloring 1-perfectly orientable graphs for every fixed k. This answers a question of Breˇsar, Hartinger, Kos, and Milaniˇc from 2018, and one of Beisegel, Chudnovsky, Gurvich, Milaniˇc, and Servatius from 2019, respectively. We also reveal some further algorithmic implications of (tw,ω)- boundedness related to list k-coloring and clique problems. In addition, we propose a question about the complexity of the Maximum Weight Independent Set prob- lem in (tw,ω)-bounded graph classes and prove that the problem is polynomial-time solvable in every class of graphs excluding a fixed star as an induced minor.
    [Show full text]
  • Handout on Vertex Separators and Low Tree-Width K-Partition
    Handout on vertex separators and low tree-width k-partition January 12 and 19, 2012 Given a graph G(V; E) and a set of vertices S ⊂ V , an S-flap is the set of vertices in a connected component of the graph induced on V n S. A set S is a vertex separator if no S-flap has more than n=p 2 vertices. Lipton and Tarjan showed that every planar graph has a separator of size O( n). This was generalized by Alon, Seymour and Thomas to any family of graphs that excludes some fixed (arbitrary) subgraph H as a minor. Theorem 1 There a polynomial time algorithm that given a parameter h and an n vertex graphp G(V; E) either outputs a Kh minor, or outputs a vertex separator of size at most h hn. Corollary 2 Let G(V; E) be an arbitrary graph with nop Kh minor, and let W ⊂ V . Then one can find in polynomial time a set S of at most h hn vertices such that every S-flap contains at most jW j=2 vertices from W . Proof: The proof given in class for Theorem 1 easily extends to this setting. 2 p Corollary 3 Every graph with no Kh as a minor has treewidth O(h hn). Moreover, a tree decomposition with this treewidth can be found in polynomial time. Proof: We have seen an algorithm that given a graph of treewidth p constructs a tree decomposition of treewidth 8p. Usingp Corollary 2, that algorithm can be modified to give a tree decomposition of treewidth 8h hn in our case, and do so in polynomial time.
    [Show full text]
  • The Size Ramsey Number of Graphs with Bounded Treewidth | SIAM
    SIAM J. DISCRETE MATH. © 2021 Society for Industrial and Applied Mathematics Vol. 35, No. 1, pp. 281{293 THE SIZE RAMSEY NUMBER OF GRAPHS WITH BOUNDED TREEWIDTH\ast NINA KAMCEVy , ANITA LIEBENAUz , DAVID R. WOOD y , AND LIANA YEPREMYANx Abstract. A graph G is Ramsey for a graph H if every 2-coloring of the edges of G contains a monochromatic copy of H. We consider the following question: if H has bounded treewidth, is there a \sparse" graph G that is Ramsey for H? Two notions of sparsity are considered. Firstly, we show that if the maximum degree and treewidth of H are bounded, then there is a graph G with O(jV (H)j) edges that is Ramsey for H. This was previously only known for the smaller class of graphs H with bounded bandwidth. On the other hand, we prove that in general the treewidth of a graph G that is Ramsey for H cannot be bounded in terms of the treewidth of H alone. In fact, the latter statement is true even if the treewidth is replaced by the degeneracy and H is a tree. Key words. size Ramsey number, bounded treewidth, bounded-degree trees, Ramsey number AMS subject classifications. 05C55, 05D10, 05C05 DOI. 10.1137/20M1335790 1. Introduction. A graph G is Ramsey for a graph H, denoted by G ! H, if every 2-coloring of the edges of G contains a monochromatic copy of H. In this paper we are interested in how sparse G can be in terms of H if G ! H.
    [Show full text]
  • Treewidth-Erickson.Pdf
    Computational Topology (Jeff Erickson) Treewidth Or il y avait des graines terribles sur la planète du petit prince . c’étaient les graines de baobabs. Le sol de la planète en était infesté. Or un baobab, si l’on s’y prend trop tard, on ne peut jamais plus s’en débarrasser. Il encombre toute la planète. Il la perfore de ses racines. Et si la planète est trop petite, et si les baobabs sont trop nombreux, ils la font éclater. [Now there were some terrible seeds on the planet that was the home of the little prince; and these were the seeds of the baobab. The soil of that planet was infested with them. A baobab is something you will never, never be able to get rid of if you attend to it too late. It spreads over the entire planet. It bores clear through it with its roots. And if the planet is too small, and the baobabs are too many, they split it in pieces.] — Antoine de Saint-Exupéry (translated by Katherine Woods) Le Petit Prince [The Little Prince] (1943) 11 Treewidth In this lecture, I will introduce a graph parameter called treewidth, that generalizes the property of having small separators. Intuitively, a graph has small treewidth if it can be recursively decomposed into small subgraphs that have small overlap, or even more intuitively, if the graph resembles a ‘fat tree’. Many problems that are NP-hard for general graphs can be solved in polynomial time for graphs with small treewidth. Graphs embedded on surfaces of small genus do not necessarily have small treewidth, but they can be covered by a small number of subgraphs, each with small treewidth.
    [Show full text]
  • Bounded Treewidth
    Algorithms for Graphs of (Locally) Bounded Treewidth by MohammadTaghi Hajiaghayi A thesis presented to the University of Waterloo in ful¯llment of the thesis requirement for the degree of Master of Mathematics in Computer Science Waterloo, Ontario, September 2001 c MohammadTaghi Hajiaghayi, 2001 ° I hereby declare that I am the sole author of this thesis. I authorize the University of Waterloo to lend this thesis to other institutions or individuals for the purpose of scholarly research. MohammadTaghi Hajiaghayi I further authorize the University of Waterloo to reproduce this thesis by photocopying or other means, in total or in part, at the request of other institutions or individuals for the purpose of scholarly research. MohammadTaghi Hajiaghayi ii The University of Waterloo requires the signatures of all persons using or photocopying this thesis. Please sign below, and give address and date. iii Abstract Many real-life problems can be modeled by graph-theoretic problems. These graph problems are usually NP-hard and hence there is no e±cient algorithm for solving them, unless P= NP. One way to overcome this hardness is to solve the problems when restricted to special graphs. Trees are one kind of graph for which several NP-complete problems can be solved in polynomial time. Graphs of bounded treewidth, which generalize trees, show good algorithmic properties similar to those of trees. Using ideas developed for tree algorithms, Arnborg and Proskurowski introduced a general dynamic programming approach which solves many problems such as dominating set, vertex cover and independent set. Others used this approach to solve other NP-hard problems.
    [Show full text]
  • Treewidth: Computational Experiments
    Takustraße 7 Konrad-Zuse-Zentrum D-14195 Berlin-Dahlem fur¨ Informationstechnik Berlin Germany ARIE M.C.A. KOSTER HANS L. BODLAENDER STAN P.M. VAN HOESEL Treewidth: Computational Experiments ZIB-Report 01–38 (December 2001) Treewidth: Computational Experiments Arie M.C.A. Kostery Hans L. Bodlaenderz Stan P.M. van Hoeselx December 28, 2001 Abstract Many NP-hard graph problems can be solved in polynomial time for graphs with bounded treewidth. Equivalent results are known for pathwidth and branchwidth. In recent years, several studies have shown that this result is not only of theoretical interest but can success- fully be applied to ¯nd (almost) optimal solutions or lower bounds for many optimization problems. To apply a tree decomposition approach, the treewidth of the graph has to be determined, independently of the application at hand. Although for ¯xed k, linear time algorithms exist to solve the decision problem \treewidth · k", their practical use is very limited. The computational tractability of treewidth has been rarely studied so far. In this paper, we compare four heuristics and two lower bounds for instances from applications such as the frequency assignment problem and the vertex coloring problem. Three of the heuristics are based on well-known algorithms to recognize triangulated graphs. The fourth heuristic recursively improves a tree decomposition by the computation of minimal separating vertex sets in subgraphs. Lower bounds can be computed from maximal cliques and the minimum degree of induced subgraphs. A computational analysis shows that the treewidth of several graphs can be identi¯ed by these methods. For other graphs, however, more sophisticated techniques are necessary.
    [Show full text]
  • A Complete Anytime Algorithm for Treewidth
    UAI 2004 GOGATE & DECHTER 201 A Complete Anytime Algorithm for Treewidth Vibhav Gogate and Rina Dechter School of Information and Computer Science, University of California, Irvine, CA 92967 fvgogate,[email protected] Abstract many algorithms that solve NP-hard problems in Arti¯cial Intelligence, Operations Research, In this paper, we present a Branch and Bound Circuit Design etc. are exponential only in the algorithm called QuickBB for computing the treewidth. Examples of such algorithm are Bucket treewidth of an undirected graph. This al- elimination [Dechter, 1999] and junction-tree elimina- gorithm performs a search in the space of tion [Lauritzen and Spiegelhalter, 1988] for Bayesian perfect elimination ordering of vertices of Networks and Constraint Networks. These algo- the graph. The algorithm uses novel prun- rithms operate in two steps: (1) constructing a ing and propagation techniques which are good tree-decomposition and (2) solving the prob- derived from the theory of graph minors lem on this tree-decomposition, with the second and graph isomorphism. We present a new step generally exponential in the treewidth of the algorithm called minor-min-width for com- tree-decomposition computed in step 1. In this puting a lower bound on treewidth that is paper, we present a complete anytime algorithm used within the branch and bound algo- called QuickBB for computing a tree-decomposition rithm and which improves over earlier avail- of a graph that can feed into any algorithm like able lower bounds. Empirical evaluation of Bucket elimination [Dechter, 1999] that requires a QuickBB on randomly generated graphs and tree-decomposition. benchmarks in Graph Coloring and Bayesian The majority of recent literature on Networks shows that it is consistently bet- the treewidth problem is devoted to ¯nd- ter than complete algorithms like Quick- ing constant factor approximation algo- Tree [Shoikhet and Geiger, 1997] in terms of rithms [Amir, 2001, Becker and Geiger, 2001].
    [Show full text]
  • Linearity of Grid Minors in Treewidth with Applications Through Bidimensionality∗
    Linearity of Grid Minors in Treewidth with Applications through Bidimensionality∗ Erik D. Demaine† MohammadTaghi Hajiaghayi† Abstract We prove that any H-minor-free graph, for a fixed graph H, of treewidth w has an Ω(w) × Ω(w) grid graph as a minor. Thus grid minors suffice to certify that H-minor-free graphs have large treewidth, up to constant factors. This strong relationship was previously known for the special cases of planar graphs and bounded-genus graphs, and is known not to hold for general graphs. The approach of this paper can be viewed more generally as a framework for extending combinatorial results on planar graphs to hold on H-minor-free graphs for any fixed H. Our result has many combinatorial consequences on bidimensionality theory, parameter-treewidth bounds, separator theorems, and bounded local treewidth; each of these combinatorial results has several algorithmic consequences including subexponential fixed-parameter algorithms and approximation algorithms. 1 Introduction The r × r grid graph1 is the canonical planar graph of treewidth Θ(r). In particular, an important result of Robertson, Seymour, and Thomas [38] is that every planar graph of treewidth w has an Ω(w) × Ω(w) grid graph as a minor. Thus every planar graph of large treewidth has a grid minor certifying that its treewidth is almost as large (up to constant factors). In their Graph Minor Theory, Robertson and Seymour [36] have generalized this result in some sense to any graph excluding a fixed minor: for every graph H and integer r > 0, there is an integer w > 0 such that every H-minor-free graph with treewidth at least w has an r × r grid graph as a minor.
    [Show full text]
  • The Bidimensionality Theory and Its Algorithmic
    The Bidimensionality Theory and Its Algorithmic Applications by MohammadTaghi Hajiaghayi B.S., Sharif University of Technology, 2000 M.S., University of Waterloo, 2001 Submitted to the Department of Mathematics in partial ful¯llment of the requirements for the degree of DOCTOR OF PHILOSOPHY at the MASSACHUSETTS INSTITUTE OF TECHNOLOGY June 2005 °c MohammadTaghi Hajiaghayi, 2005. All rights reserved. The author hereby grants to MIT permission to reproduce and distribute publicly paper and electronic copies of this thesis document in whole or in part. Author.............................................................. Department of Mathematics April 29, 2005 Certi¯ed by. Erik D. Demaine Associate Professor of Electrical Engineering and Computer Science Thesis Supervisor Accepted by . Rodolfo Ruben Rosales Chairman, Applied Mathematics Committee Accepted by . Pavel I. Etingof Chairman, Department Committee on Graduate Students 2 The Bidimensionality Theory and Its Algorithmic Applications by MohammadTaghi Hajiaghayi Submitted to the Department of Mathematics on April 29, 2005, in partial ful¯llment of the requirements for the degree of DOCTOR OF PHILOSOPHY Abstract Our newly developing theory of bidimensional graph problems provides general techniques for designing e±cient ¯xed-parameter algorithms and approximation algorithms for NP- hard graph problems in broad classes of graphs. This theory applies to graph problems that are bidimensional in the sense that (1) the solution value for the k £ k grid graph (and similar graphs) grows with k, typically as ­(k2), and (2) the solution value goes down when contracting edges and optionally when deleting edges. Examples of such problems include feedback vertex set, vertex cover, minimum maximal matching, face cover, a series of vertex- removal parameters, dominating set, edge dominating set, r-dominating set, connected dominating set, connected edge dominating set, connected r-dominating set, and unweighted TSP tour (a walk in the graph visiting all vertices).
    [Show full text]
  • A Note on Contraction Degeneracy
    A Note on Contraction Degeneracy Thomas Wolle Arie M.C.A. Koster Hans L. Bodlaender institute of information and computing sciences, utrecht university technical report UU-CS-2004-042 www.cs.uu.nl A Note on Contraction Degeneracy? Thomas Wolle1, Arie M.C.A. Koster2, and Hans L. Bodlaender1 1 Institute of Information and Computing Sciences, Utrecht University P.O.Box 80.089, 3508 TB Utrecht, The Netherlands [email protected] [email protected] 2 Zuse Institute Berlin (ZIB) Takustraße 7, D-14194 Berlin, Germany [email protected] Abstract. The parameter contraction degeneracy | the maximum minimum degree over all minors of a graph | is a treewidth lower bound and was first defined in [3]. In experiments it was shown that this lower bound improves upon other treewidth lower bounds [3]. In this note, we examine some relationships between the contraction degeneracy and connected components of a graph, blocks of a graph and the genus of a graph. We also look at chordal graphs, and we study an upper bound on the contraction degeneracy. A data structure that can be used for algorithms computing the degeneracy and similar parameters, is also described. 1 Introduction Since their introduction by Robertson and Seymour about twenty years ago, the notions of treewidth and treedecomposition have received a growing interest. An important reason for the popularity of these notions is the fact that many problems that are NP -hard to solve on gen- eral graphs, can be solved in linear or polynomial time (in the size of the input graph), using dynamic programming on a treedecomposition.
    [Show full text]
  • An Algorithm for the Exact Treedepth Problem James Trimble School of Computing Science, University of Glasgow Glasgow, Scotland, UK [email protected]
    An Algorithm for the Exact Treedepth Problem James Trimble School of Computing Science, University of Glasgow Glasgow, Scotland, UK [email protected] Abstract We present a novel algorithm for the minimum-depth elimination tree problem, which is equivalent to the optimal treedepth decomposition problem. Our algorithm makes use of two cheaply-computed lower bound functions to prune the search tree, along with symmetry-breaking and domination rules. We present an empirical study showing that the algorithm outperforms the current state-of-the-art solver (which is based on a SAT encoding) by orders of magnitude on a range of graph classes. 2012 ACM Subject Classification Theory of computation → Graph algorithms analysis; Theory of computation → Algorithm design techniques Keywords and phrases Treedepth, Elimination Tree, Graph Algorithms Supplement Material Source code: https://github.com/jamestrimble/treedepth-solver Funding James Trimble: This work was supported by the Engineering and Physical Sciences Research Council (grant number EP/R513222/1). Acknowledgements Thanks to Ciaran McCreesh, David Manlove, Patrick Prosser and the anonymous referees for their helpful feedback, and to Robert Ganian, Neha Lodha, and Vaidyanathan Peruvemba Ramaswamy for providing software for the SAT encoding. 1 Introduction This paper presents a practical algorithm for finding an optimal treedepth decomposition of a graph. A treedepth decomposition of graph G = (V, E) is a rooted forest F with node set V , such that for each edge {u, v} ∈ E, we have either that u is an ancestor of v or v is an ancestor of u in F . The treedepth of G is the minimum depth of a treedepth decomposition of G, where depth is defined as the maximum number of vertices along a path from the root of the tree to a leaf.
    [Show full text]