Lably
Skip to content

Vertex cover

Subset of a graph's vertices, including at least one endpoint of every edge

  • 7 min read
  • 2 chapters

Related on Lably

Through Graph (discrete mathematics), Computer science and Optimization problem

In computer science, the problem of finding a minimum vertex cover is a classical optimization problem. It is NP-hard, so it cannot be solved by a polynomial-time algorithm if P ≠ NP. Moreover, it is hard to approximate – it cannot be approximated up to a factor smaller than 2 if the unique games conjecture is true. On the other hand, it has several simple 2-factor approximations. It is a typical example of an NP-hard optimization problem that has an approximation algorithm. Its decision version, the vertex cover problem, was one of Karp's 21 NP-complete problems and is therefore a classical NP-complete problem in computational complexity theory. Furthermore, the vertex cover problem is fixed-parameter tractable and a central problem in parameterized complexity theory.

The minimum vertex cover problem can be formulated as a half-integral, linear program whose dual linear program is the maximum matching problem.

Vertex cover problems have been generalized to hypergraphs, see Vertex cover in hypergraphs.

Definition

Formally, a vertex cover V′ of an undirected graph G=(V,E) is a subset of V such that (uv∈E)⇒(u∈V′∨v∈V′), that is to say it is a set of vertices V′ where every edge has at least one endpoint in the vertex cover V′. Such a set is said to cover the edges of G. The upper figure shows two examples of vertex covers, with some vertex cover V′ marked in red.

A minimum vertex cover is a vertex cover of smallest possible size. The vertex cover number τ is the size of a minimum vertex cover, i.e. τ=|V′|. The lower figure shows examples of minimum vertex covers in the previous graphs.

Examples

Properties

  • A set of vertices is a vertex cover if and only if its complement is an independent set.
  • Consequently, the number of vertices of a graph is equal to its minimum vertex cover number plus the size of a maximum independent set.

Sign in to keep reading

One more chapter is free with a Lably account.

More in Discrete mathematics