Vertex cover problem Guide, Meaning , Facts, Information and Description
In computer science, the Vertex Cover Problem is an NP-complete problem in complexity theory.
- .
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:
- INSTANCE: A graph and a positive integer .
- QUESTION: Is there a vertex cover of size or less for ?
One can find a factor-2 approximation by repeatedly taking both endpoints of an edge into the vertex cover, 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 list all subsets of vertices of size and check each one to see whether it forms a vertex cover. This algorithm is exponential in , but not in the size of the graph, i.e., vertex cover is fixed-parameter tractable with respect to .
