題組題幹(本題:C,共 3 小題)點擊展開
We have the following definitions and theorem related to NP-completeness.
Definition 1. Let and be two problems. polynomially reduces to (written as ) if and only if can be solved in polynomial time, by using a polynomial time algorithm which solves .
Definition 2. A problem is said to be a P (resp., NP) problem if it can be solved in polynomial time by a deterministic (resp., non-deterministic) algorithm.
Definition 3. NP (resp., P) is the set of all NP (resp., P) problems.
Definition 4. A problem X is an NP-complete (NPC) problem if and every NP problem reduces to X.
Cook's Theorem. if and only if the satisfiability (SAT) problem is a P problem. (This implies that every NP problem polynomially reduces to SAT.)
(5%) By the above definitions and theorem, show the following statement is true or false. You should also show your reasons. If the reasons are incorrect, then you get no point.
Statement: If an NPC problem can be solved in polynomial time by a deterministic algorithm, then all NP problems can also be solved in polynomial time by a deterministic algorithm.