18.04.2013 Views

The.Algorithm.Design.Manual.Springer-Verlag.1998

The.Algorithm.Design.Manual.Springer-Verlag.1998

The.Algorithm.Design.Manual.Springer-Verlag.1998

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Independent Set and Vertex Cover<br />

Next: Clique and Independent Set Up: Simple Reductions Previous: Hamiltonian Cycles<br />

Independent Set and Vertex Cover<br />

<strong>The</strong> vertex cover problem, discussed more thoroughly in Section , asks for a small set of vertices that<br />

contacts each edge in a graph. More formally:<br />

Input: A graph G=(V, E) and integer .<br />

Output: Is there a subset S of at most k vertices such that every has at least one vertex in S?<br />

Figure: Circled vertices form a vertex cover, the dark vertices an independent set<br />

It is trivial to find a vertex cover of a graph, for the cover can consist of all of the vertices. More tricky is<br />

to cover the edges using as small a set of vertices as possible. For the graph of Figure , four of the<br />

eight vertices are sufficient to cover.<br />

A set of vertices S of graph G is independent if there are no edges (x,y) where and , meaning<br />

there are no edges between any two vertices in the independent set. As discussed in Section , the<br />

independent set problem arises in facility location problems. <strong>The</strong> maximum independent set decision<br />

problem is formally defined:<br />

Input: A graph G and integer .<br />

Output: Does there exist an independent set of k vertices in G? Both vertex cover and independent set are<br />

file:///E|/BOOK/BOOK3/NODE108.HTM (1 of 2) [19/1/2003 1:29:46]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!