|
Article on other languages:
|
In computer science, the vertex cover problem or node cover problem is an NP-complete problem and was one of Karp's 21 NP-complete problems. It is often used in complexity theory to prove NP-hardness of more complicated problems.
DefinitionA vertex cover for an undirected graph G = (V,E) is a subset S of its vertices such that each edge has at least one endpoint in S. In other words, for each edge ab in E, one of a or b must be an element of S. Example: In the graph on the right, {1,3,5,6} is an example of a vertex cover of size 4. However, it is not a smallest vertex cover since there exist vertex covers of size 3, such as {2,4,5} and {1,2,4}. The vertex cover problem is the optimization problem of finding a smallest vertex cover in a given graph.
Equivalently, the problem can be stated as a decision problem:
Vertex cover is closely related to the Independent Set problem. A set of vertices S is a vertex cover if and only if its complement TractabilityThe decision variant of the vertex cover problem is NP-complete, which means it is unlikely that there is an efficient algorithm to solve it exactly. NP-completeness can be proven by reduction from 3-satisfiability (see image on the right) or, as Karp did, by reduction from the clique problem. Vertex cover remains NP-complete even in cubic graphs[1] and even in planar graphs of degree at most 3[2]. For bipartite graphs, the equivalence between vertex cover and maximum matching described by König's theorem allows the bipartite vertex cover problem to be solved in polynomial time. Fixed-Parameter TractabilityDespite the fact that vertex cover is NP-complete, a brute force algorithm can solve the problem in time For planar graphs, however, a vertex cover of size k can be found in time ApproximabilityOne can find a factor-2 approximation by repeatedly taking both endpoints of an edge into the vertex cover, then removing them from the graph. No better constant-factor approximation is known; the problem is APX-complete, i.e., it cannot be approximated arbitrarily well. More precisely, minimum vertex cover is known to be approximable within for a given Although finding the minimum-size vertex cover is equivalent to finding the maximum-size independent set, as described above, the two problems are not equivalent in the sense of approximation. The Independent Set problem has no constant-factor approximation unless P=NP. See also
References
Further References
External links |
This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License.
Mercedes Car
This site monitored by SitePinger.net