Baker's technique: Difference between revisions
added Category:Graph theory; removed {{uncategorized}} using HotCat |
No edit summary |
||
Line 1: | Line 1: | ||
'''Baker's technique''' |
'''Baker's technique''', created in 1994 by Brenda Baker, is a method for designing [[polynomial-time approximation scheme]]s, PTASs, for problems on [[planar graph]]s. 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. Its generalizations have also led to many PTASs on graphs excluding a fixed minor, and bounded genus graphs. 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. |
||
==Example of technique== |
==Example of technique== |
||
Line 12: | Line 12: | ||
find the components <math>G^\ell_1, G^\ell_2, \ldots,</math> of <math>G</math> after deleting <math>V_\ell</math> |
find the components <math>G^\ell_1, G^\ell_2, \ldots,</math> of <math>G</math> after deleting <math>V_\ell</math> |
||
for <math>i = 1,2, \ldots </math> |
for <math>i = 1,2, \ldots </math> |
||
compute <math>S_i^ |
compute <math>S_i^\ell</math>, the maximum-weight independent set of <math>G_i^\ell</math> |
||
<math>S^ |
<math>S^\ell = \cup_i S_i^\ell</math> |
||
let <math>S^{\ell^*}</math> be the solution of maximum weight among <math>\{S^0,S^1, \ldots, S^{k-1} \}</math> |
let <math>S^{\ell^*}</math> be the solution of maximum weight among <math>\{S^0,S^1, \ldots, S^{k-1} \}</math> |
||
return <math>S^{\ell^*}</math> |
return <math>S^{\ell^*}</math> |
||
Notice that the above algorithm is feasible because each <math>S^ |
Notice that the above algorithm is feasible because each <math>S^\ell </math> is the union of disjoint independent sets. |
||
===Dynamic programming=== |
===Dynamic programming=== |
||
[[Dynamic programming]] is used when we compute the maximum-weight independent set for each <math>G_i^ |
[[Dynamic programming]] is used when we compute the maximum-weight independent set for each <math>G_i^\ell</math>. This dynamic program works because each <math>G_i^\ell</math> is a <math>k</math>-[[outerplanar graph]]. Many NP-complete problems can be solved with dynamic programming on <math>k</math>-outerplanar graphs. |
||
==References== |
==References== |
Revision as of 05:46, 21 December 2011
Baker's technique, created in 1994 by Brenda Baker, is a method for designing polynomial-time approximation schemes, PTASs, for problems on planar graphs. 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. Its generalizations have also led to many PTASs on graphs excluding a fixed minor, and bounded genus graphs. 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.
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.
References
- Baker, B. (1994), "Approximation algorithms for NP-complete problems on planar graphs", JACM, 41 (1).
- Bodlaender, H. (1988), "Dynamic programming on graphs with bounded treewidth", ICALP.
- Demaine, E.; Hajiaghayi, M.; Kawarabayashi, K. (2005), "Algorithmic graph minor theory: Decomposition, approximation, and coloring", FOCS, 46.
- 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.
- Eppstein, D. (2000), "Diameter and treewidth in minor-closed graph families.", Algorithmica, 27.
- Eppstein, D. (1995), "Subgraph isomorphism in planar graphs and related problems.", SODA, 6.