VC_to_HC - component to the first a of the next...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
VC Hamiltonian Cycle VC: Instance: a graph G = (V, E) and an integer k. Question: Does there exist S V such that (1) |S| ≤ k, and (2) every edge has at least one endpoint in S? Let G = (V, E) and k be an arbitrary instance of VC. We will now create a new graph H = (V', E') as follows: (1) For each edge (a, b) of E, construct a "component" on 12 vertices as follows: 1 input/output vertices 2 3 4 5 6 input/output vertices "a" vertices "b" vertices Note: the "non input/output" vertices will not be adjacent to any other vertices in H. (2) Create a cycle with all the "a" vertices by adding an edge between the last of one
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: component to the first a of the next component (the order of components is unimportant). Repeat for every vertex in G. (3) Add an additional k vertices z 1 , z 2 , …, z k . Add edges from each of these to every input/output vertex. This is the graph H and is an instance of Hamiltonian Cycle. ● ● ● ● ● ● (a, b) a ● ● d ● ● G = ● ● ● ● b ● ● c VC = {a, c}, or {b, c} ● ● ● ● ● ● (a, c) ● ● ● ● ● ● ● z 1 ● ● ● ● ● ● (b, c) ● ● ● ● ● ● ● z 2 ● ● ● ● ● ● (c, d) ● ● ● ● ● ●...
View Full Document

This note was uploaded on 07/14/2011 for the course COT 4610 taught by Professor Dutton during the Fall '10 term at University of Central Florida.

Page1 / 2

VC_to_HC - component to the first a of the next...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online