Protected: D-HC to D-HP reduction

This post is password protected. To view it please enter your password below:


Posted in reductions | Enter your password to view comments.

Protected: D-HP to D-HC Reduction

This post is password protected. To view it please enter your password below:


Posted in reductions | Enter your password to view comments.

Protected: HP to HC reduction

This post is password protected. To view it please enter your password below:


Posted in reductions | Enter your password to view comments.

Basic Reductions

The next few posts will be simple reductions listed in a graduate level algorithms course. I expect them to cover the following problems: vertex cover, independent set, and clique, hamiltonian cycle, hamiltonian path, hamiltonian with specified edge, hamiltonian path from A to B. Also, the reductions will follow the same template, detailed as follows:

Show that if R is NP-Hard, then Q is NP-Hard.

This statement is asking us to show that R \leq_p Q. This can also be phrased as, “reduce R to Q”.

  1. Specify a transformation  (using pseudocode) of an instance S of problem R to an instance T of problem Q.
  2. Show that the transformation is deterministic in polynomial time (i.e. give an upper bound for a reasonable implementation of the transformation in Big-O notation)
  3. Prove the claim: if S is a “yes” instance for problem R, then T is a “yes” instance for problem Q.
  4. Prove the claim: if T is a “yes” instance for problem Q, then S is a “yes” instance of problem R.

We note that by proving the claims of step 3 and step 4, we prove that a “yes” instance to problem R will be transformed deterministically in polynomial time by transformation T to a “yes” instance to problem Q. Likewise, a “no” instance to problem R will be transformed deterministically in polynomial time by transformation T to a “no” instance to problem Q.

Posted in reductions | Tagged | 3 Comments