演算法›Ch5 NP Complete Problems
第 26 題/共 30 題
◀ AL 26/30
26. NP-Complete、Polynomial Reduction
#AL-05-026中NP-CompletePolynomial Reduction
題組題幹(本題:A,共 3 小題)點擊展開

We have the following definitions and theorem related to NP-completeness.

Definition 1. Let X1X_1 and X2X_2 be two problems. X1X_1 polynomially reduces to X2X_2 (written as X1∝X2X_1 \propto X_2) if and only if X1X_1 can be solved in polynomial time, by using a polynomial time algorithm which solves X2X_2.

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 X∈NPX \in NP and every NP problem reduces to X.

Cook's Theorem. NP=PNP=P if and only if the satisfiability (SAT) problem is a P problem. (This implies that every NP problem polynomially reduces to SAT.)

(15%) Assume that SAT∝BSAT \propto B, B∝CB \propto C, C∝DC \propto D and D∈NPD \in NP. By the assumptions and above definitions and theorem, prove that D is NP-complete.

📄 中央110
跳轉到第題
▤完整推導請見《WH 資工筆記 · 演算法》Ch5 NP Complete Problems
本章題號 · 21–30 / 30