Re: basic query regarding NP Complete...
- From: Kai Schories <kai_schories@xxxxxxxxxx>
- Date: Mon, 21 Aug 2006 12:21:45 +0200
"Prakash" <helloprak@xxxxxxxxx> writes:
Hi,Hi Prakash,
I have am trying to understand the basics of NP and NP complete.
Can any one help me better my understanding.
Here is my query regarding the same
Do we call a set of problem in NP to be NP complete if each one of them
is reducible to an other ? ie.. if 3-CNF, Boolean satisfiability,
Vertex cover, Hamilton cycle.. problems form a set and each of them is
reducible to one of the other then do we call that set NP-Complete ?
Suppose I have a NDTM that solves the sorting problem by randomly
guessing the order and I have a verifier Algorithm (polynomial) that
outputs a YES if all elements are in order, This problem is in NP.
Supposing I have few other hypothetical problems that are reducible to
this problem will that set form a NP-COMPLETE set ? Since P is a subset
of NP do we have many partitions in class P that are reducible to each
other within that partition and hence NP complete ?
Please correct me if my understanding is wrong.
Thanking you,
Prakash S
if a problem A is in NP it is called NP-complete if it is at least hard as all
other problems in NP. That means: SAT is NP complete (COOK's theorem) and all
other problems already known to be NP-complete (traveling salesman, 3-CNF,
....) regarding the following. Find a polynominal-time function f_A which maps
SAT's input to a representation of A's input (i write: SAT <=p A , which means
'SAT p-reducible A'). So each instance of SAT can be solved as instance of A.
It follows that A is as hard as SAT which implies A is also NP-complete.
Suppose you have shown that problem B is NP-complete
(B in NP -and- SAT <=p B).
Now you can alternatively try to show A's NP-completeness by showing
B <=p A (because: SAT <=p B <=p A implies SAT <=p A). If you now take a whole
set C of problems and you want to show NP-completeness of C, you have to show
that for each c \in C SAT <=p c holds.
I hope i could help you a little?
Kai
.
- Follow-Ups:
- Re: basic query regarding NP Complete...
- From: Simon
- Re: basic query regarding NP Complete...
- From: Prakash
- Re: basic query regarding NP Complete...
- References:
- basic query regarding NP Complete...
- From: Prakash
- basic query regarding NP Complete...
- Prev by Date: basic query regarding NP Complete...
- Next by Date: Re: basic query regarding NP Complete...
- Previous by thread: basic query regarding NP Complete...
- Next by thread: Re: basic query regarding NP Complete...
- Index(es):
Relevant Pages
|