Baker's technique
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),(Demaine Hajiaghayi)) 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([math]\displaystyle{ G }[/math], [math]\displaystyle{ w }[/math], [math]\displaystyle{ \epsilon }[/math]) Choose an arbitrary vertex [math]\displaystyle{ r }[/math] [math]\displaystyle{ k = 1/\epsilon }[/math] find the breadth-first search levels for [math]\displaystyle{ G }[/math] rooted at [math]\displaystyle{ r }[/math] [math]\displaystyle{ \pmod k }[/math]: [math]\displaystyle{ \{V_0,V_1, \ldots, V_{k-1} \} }[/math] for [math]\displaystyle{ \ell = 0, \ldots, k-1 }[/math] find the components [math]\displaystyle{ G^\ell_1, G^\ell_2, \ldots, }[/math] of [math]\displaystyle{ G }[/math] after deleting [math]\displaystyle{ V_\ell }[/math] for [math]\displaystyle{ i = 1,2, \ldots }[/math] compute [math]\displaystyle{ S_i^\ell }[/math], the maximum-weight independent set of [math]\displaystyle{ G_i^\ell }[/math] [math]\displaystyle{ S^\ell = \cup_i S_i^\ell }[/math] let [math]\displaystyle{ S^{\ell^*} }[/math] be the solution of maximum weight among [math]\displaystyle{ \{S^0,S^1, \ldots, S^{k-1} \} }[/math] return [math]\displaystyle{ S^{\ell^*} }[/math]
Notice that the above algorithm is feasible because each [math]\displaystyle{ S^\ell }[/math] is the union of disjoint independent sets.
Dynamic programming
Dynamic programming is used when we compute the maximum-weight independent set for each [math]\displaystyle{ G_i^\ell }[/math]. This dynamic program works because each [math]\displaystyle{ G_i^\ell }[/math] is a [math]\displaystyle{ k }[/math]-outerplanar graph. Many NP-complete problems can be solved with dynamic programming on [math]\displaystyle{ k }[/math]-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
- "Approximation algorithms for NP-complete problems on planar graphs (preliminary version)", 24th Annual Symposium on Foundations of Computer Science, Tucson, Arizona, USA, 7–9 November 1983, IEEE Computer Society, 1983, pp. 265–273, doi:10.1109/SFCS.1983.7
- "Approximation algorithms for NP-complete problems on planar graphs", Journal of the ACM 41 (1): 153–180, 1994, doi:10.1145/174644.174650
- Lepistö, Timo; Salomaa, Arto, eds. (1988), "Dynamic programming on graphs with bounded treewidth", Automata, Languages and Programming, 15th International Colloquium, ICALP '88, Tampere, Finland, July 11–15, 1988, Proceedings, Lecture Notes in Computer Science, 317, Springer, pp. 105–118, doi:10.1007/3-540-19488-6_110, ISBN 978-3-540-19488-0
- Demaine, Erik D.; Hajiaghayi, Mohammad Taghi; Kawarabayashi, Ken-ichi (2005), "Algorithmic graph minor theory: Decomposition, approximation, and coloring", 46th Annual IEEE Symposium on Foundations of Computer Science (FOCS 2005), 23–25 October 2005, Pittsburgh, PA, USA, Proceedings, IEEE Computer Society, pp. 637–646, doi:10.1109/SFCS.2005.14, ISBN 0-7695-2468-0, http://www-math.mit.edu/~hajiagha/graphminoralgorithm.pdf
- Demaine, Erik D.; Hajiaghayi, MohammadTaghi; Kawarabayashi, Ken-ichi (2011), "Contraction decomposition in J-minor-free graphs and algorithmic applications", in Fortnow, Lance; Vadhan, Salil P., Proceedings of the 43rd ACM Symposium on Theory of Computing, STOC 2011, San Jose, CA, USA, 6–8 June 2011, ACM, pp. 441–450, doi:10.1145/1993636.1993696, ISBN 9781450306911
- "Approximation algorithms for classes of graphs excluding single-crossing graphs as minors.", J. Comput. Syst. Sci. 69 (2): 166–195, 2004, doi:10.1016/j.jcss.2003.12.001.
- Eppstein, D. (2000), "Diameter and treewidth in minor-closed graph families.", Algorithmica 27 (3): 275–291, doi:10.1007/s004530010020.
- "Subgraph isomorphism in planar graphs and related problems", Journal of Graph Algorithms and Applications 3 (3): 1–27, 1999, doi:10.7155/jgaa.00014
- Grigoriev, Alexander (2007), "Algorithms for graphs embeddable with few crossings per edge", Algorithmica 49 (1): 1–11, doi:10.1007/s00453-007-0010-x, https://cris.maastrichtuniversity.nl/en/publications/5984fed8-f0b5-4b0d-91fe-2ca15d158421.
Original source: https://en.wikipedia.org/wiki/Baker's technique.
Read more |