[問題] NP的觀念

看板Prob_Solve (計算數學 Problem Solving)作者 (無法顯示)時間13年前 (2011/07/29 20:12), 編輯推噓3(305)
留言8則, 5人參與, 最新討論串1/1
let A and B be two computational problems. If we can find a linear time algorithm to transform A to B, i.e., the inputs to A is transform to the inputs to B and the solution to B is transform A, both can be done in O(n) time. (1) we can say that A is at least as hard as B (2) we can solve B by solving A (3) if the least possible computing time required(or the lower bound) for solving A is Ω(nlogn), B also has Ω(nlogn) lower bound 請問上面這三點哪些是對的? A reduce to B 這樣是B比較難 這題這樣寫是哪個比較難? 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.228.27.178

07/29 20:32, , 1F
hard的精確定義仰賴reduce的精確定義。然後你是用TM嗎?
07/29 20:32, 1F

07/29 20:34, , 2F
我的意思是說,允許的reduction恰好是所有O(n)時間演算法?
07/29 20:34, 2F

07/29 20:40, , 3F
這個是研究所的考題 我想可能是比較通俗的定義吧@@?
07/29 20:40, 3F

07/30 16:29, , 4F
都不對...
07/30 16:29, 4F

08/11 03:01, , 5F
(1)A轉成B問題 所以B比A難 (2)藉由解B可以解A
08/11 03:01, 5F

08/27 15:47, , 6F
第1點應該是要說B至少跟A一樣難 第二點是由A解B
08/27 15:47, 6F

08/27 15:48, , 7F
是錯的~應該是要由B解A
08/27 15:48, 7F

08/27 15:49, , 8F
可以去看計算理論的書~應該比一般演算法的書解釋的清楚吧
08/27 15:49, 8F
文章代碼(AID): #1ECgEczQ (Prob_Solve)
文章代碼(AID): #1ECgEczQ (Prob_Solve)