In computer science, the vertex cover problem or node cover problem is an NP-complete problem in complexity theory, and was one of Karp's 21 NP-complete problems.
A vertex cover of an undirected graph is a subset of the vertices of the graph which contains at least one of the two endpoints of each edge:
The vertex cover problem is the optimization problem of finding a vertex cover of minimum size in a graph. The problem can also be stated as a decision problem:
Vertex cover is NP-complete, which means it is unlikely that there is an efficient algorithm to solve it. NP-completeness can be proven by reduction from 3-satisfiability or, as Karp did, by reduction from the clique problem. As shown by Garey and Johnson in 1974, vertex cover remains NP-complete even in cubic graphs and even in planar graphs of degree at most 6.
Vertex cover is closely related to Independent Set problem by this theorem: a graph with vertices has a vertex cover of size if and only if the graph has an independent set of size .
One 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.
A brute force algorithm to find a vertex cover in a graph is to choose some vertex and recursively branch into two cases: either take this vertex into the vertex cover, or all its neighbors. This algorithm is exponential in , but not in the size of the graph, i.e., vertex cover is fixed-parameter tractable with respect to .
Graph algorithms | NP-complete problems
Glossar Graphentheorie#Knotenüberdeckung | בעיית כיסוי קודקודים | 頂点被覆問題
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Vertex cover problem".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world