Jump to content

Baker's technique

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by David Eppstein (talk | contribs) at 08:33, 19 January 2019 (Dynamic programming: ]]). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In theoretical computer science, Baker's technique is a method for designing polynomial-time approximation schemes (PTASs) for problems on planar graphs. It is named after Brenda Baker, who announced it in a 1983 conference and published it in the Journal of the ACM in 1994.

The idea for Baker's technique is to break the graph into layers, such that the problem can be solved optimally on each layer, then combine the solutions from each layer in a reasonable way that will result in a feasible solution. This technique has given PTASs for the following problems: subgraph isomorphism, maximum independent set, minimum vertex cover, minimum dominating set, minimum edge dominating set, maximum triangle matching, and many others.

The bidimensionality theory of Erik Demaine, Fedor Fomin, Hajiaghayi, and Dimitrios Thilikos and its offshoot simplifying decompositions (Demaine, Hajiaghayi & Kawarabayashi (2005),Demaine, Hajiaghayi & Kawarabayashi (2011)) generalizes and greatly expands the applicability of Baker's technique for a vast set of problems on planar graphs and more generally graphs excluding a fixed minor, such as bounded genus graphs, as well as to other classes of graphs not closed under taking minors such as the 1-planar graphs.

Example of technique

The example that we will use to demonstrate Baker's technique is the maximum weight independent set problem.

Algorithm

INDEPENDENT-SET(,,)
Choose an arbitrary vertex 

find the breadth-first search levels for  rooted at  : 
for 
find the components  of  after deleting 
for 
compute , the maximum-weight independent set of 

let  be the solution of maximum weight among 
return 

Notice that the above algorithm is feasible because each is the union of disjoint independent sets.

Dynamic programming

Dynamic programming is used when we compute the maximum-weight independent set for each . This dynamic program works because each is a -outerplanar graph. Many NP-complete problems can be solved with dynamic programming on -outerplanar graphs. Baker's technique can be interpreted as covering the given planar graphs with subgraphs of this type, finding the solution to each subgraph using dynamic programming, and gluing the solutions together.

References

  • Baker, B. (1994), "Approximation algorithms for NP-complete problems on planar graphs", Journal of the ACM, 41 (1): 153–180, doi:10.1145/174644.174650.
  • Baker, B. (1983), "Approximation algorithms for NP-complete problems on planar graphs", FOCS, 24.
  • Bodlaender, H. (1988), "Dynamic programming on graphs with bounded treewidth", ICALP, doi:10.1007/3-540-19488-6_110.
  • Demaine, E.; Hajiaghayi, M.; Kawarabayashi, K. (2005), "Algorithmic graph minor theory: Decomposition, approximation, and coloring", FOCS, 46, doi:10.1109/SFCS.2005.14.
  • Demaine, E.; Hajiaghayi, M.; Kawarabayashi, K. (2011), "Contraction decomposition in H-minor-free graphs and algorithmic applications", STOC, 43, doi:10.1145/1993636.1993696.
  • Demaine, E.; Hajiaghayi, M.; Nishimura, N.; Ragde, P.; Thilikos, D. (2004), "Approximation algorithms for classes of graphs excluding single-crossing graphs as minors.", J. Comput. Syst. Sci., 69, doi:10.1016/j.jcss.2003.12.001.
  • Eppstein, D. (2000), "Diameter and treewidth in minor-closed graph families.", Algorithmica, 27, arXiv:math/9907126v1, doi:10.1007/s004530010020.
  • Eppstein, D. (1995), "Subgraph isomorphism in planar graphs and related problems.", SODA, 6.
  • Grigoriev, Alexander; Bodlaender, Hans L. (2007), "Algorithms for graphs embeddable with few crossings per edge", Algorithmica, 49 (1): 1–11, doi:10.1007/s00453-007-0010-x, MR 2344391.