Re: [問題] 關於演算的觀念
看板Prob_Solve (計算數學 Problem Solving)作者neverfly (neverfly)時間15年前 (2009/08/24 13:53)推噓39(39推 0噓 14→)留言53則, 6人參與討論串3/3 (看更多)
※ 引述《hannibal0416 (han)》之銘言:
推
08/17 08:54,
08/17 08:54
推
08/17 11:24,
08/17 11:24
推
08/17 18:47,
08/17 18:47
推
08/17 18:52,
08/17 18:52
→
08/18 13:10,
08/18 13:10
推
08/18 23:41,
08/18 23:41
推
08/18 23:42,
08/18 23:42
還是拿原文來討論比較有勁吧。
Knuth (1968, 1973) has given a list of five properties that are widely
accepted as requirements for an algorithm:
Finiteness:
"An algorithm must always terminate after a finite number of steps"
Definiteness:
"Each step of an algorithm must be precisely defined; the
actions to be carried out must be rigorously and unambiguously specified
for each case"
Input:
"...quantities which are given to it initially before the algorithm
begins. These inputs are taken from specified sets of objects"
Output:
"...quantities which have a specified relation to the inputs"
Effectiveness: "... all of the operations to be performed in the algorithm
must be sufficiently basic that they can in principle be done exactly and in
a finite length of time by a man using paper and pencil"
他在定義裡面哪裡沒有用"必須"這麼強烈的字眼了?
難道"must"這個字有其他更嚴謹的定義嗎?
因為演算法的定義可以不止一種,上面的定義只不過是knuth所訂出來的,
只要你開心,你也可以訂一個不需要有限性的演算法定義,只不過沒什麼人鳥而已,
所以這個定義才會說是被廣泛接受的,而不是真理。
但是你要說knuth訂的不夠嚴格,我想這可能算是一種人身攻擊吧。
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.43.192.50
推
08/25 06:02, , 1F
08/25 06:02, 1F
推
08/25 06:14, , 2F
08/25 06:14, 2F
→
08/25 11:22, , 3F
08/25 11:22, 3F
推
08/25 12:34, , 4F
08/25 12:34, 4F
推
08/25 12:34, , 5F
08/25 12:34, 5F
推
08/25 12:35, , 6F
08/25 12:35, 6F
推
08/25 12:35, , 7F
08/25 12:35, 7F
推
08/25 12:35, , 8F
08/25 12:35, 8F
推
08/25 12:36, , 9F
08/25 12:36, 9F
推
08/25 12:36, , 10F
08/25 12:36, 10F
推
08/25 12:36, , 11F
08/25 12:36, 11F
推
08/25 12:38, , 12F
08/25 12:38, 12F
推
08/25 17:14, , 13F
08/25 17:14, 13F
→
08/25 17:33, , 14F
08/25 17:33, 14F
→
08/25 17:33, , 15F
08/25 17:33, 15F
→
08/25 17:34, , 16F
08/25 17:34, 16F
→
08/25 17:34, , 17F
08/25 17:34, 17F
→
08/25 17:34, , 18F
08/25 17:34, 18F
→
08/25 17:36, , 19F
08/25 17:36, 19F
→
08/25 17:36, , 20F
08/25 17:36, 20F
推
08/26 00:30, , 21F
08/26 00:30, 21F
推
08/26 00:31, , 22F
08/26 00:31, 22F
推
08/26 00:31, , 23F
08/26 00:31, 23F
推
08/26 00:32, , 24F
08/26 00:32, 24F
推
08/26 00:32, , 25F
08/26 00:32, 25F
推
08/26 00:33, , 26F
08/26 00:33, 26F
推
08/26 00:33, , 27F
08/26 00:33, 27F
推
08/26 00:34, , 28F
08/26 00:34, 28F
推
08/26 00:35, , 29F
08/26 00:35, 29F
推
08/26 00:36, , 30F
08/26 00:36, 30F
推
08/26 00:45, , 31F
08/26 00:45, 31F
推
08/26 00:45, , 32F
08/26 00:45, 32F
推
08/26 03:11, , 33F
08/26 03:11, 33F
推
08/26 03:12, , 34F
08/26 03:12, 34F
推
08/26 03:13, , 35F
08/26 03:13, 35F
推
08/28 11:07, , 36F
08/28 11:07, 36F
→
08/28 11:08, , 37F
08/28 11:08, 37F
推
08/28 11:58, , 38F
08/28 11:58, 38F
→
08/28 11:59, , 39F
08/28 11:59, 39F
→
08/28 12:00, , 40F
08/28 12:00, 40F
→
08/28 12:01, , 41F
08/28 12:01, 41F
推
08/28 13:40, , 42F
08/28 13:40, 42F
推
08/28 13:40, , 43F
08/28 13:40, 43F
推
08/28 13:41, , 44F
08/28 13:41, 44F
推
08/28 13:42, , 45F
08/28 13:42, 45F
推
08/28 13:43, , 46F
08/28 13:43, 46F
推
08/28 13:56, , 47F
08/28 13:56, 47F
推
08/28 13:57, , 48F
08/28 13:57, 48F
推
08/28 13:58, , 49F
08/28 13:58, 49F
推
08/28 13:58, , 50F
08/28 13:58, 50F
推
08/28 14:00, , 51F
08/28 14:00, 51F
→
08/28 17:41, , 52F
08/28 17:41, 52F
→
08/28 17:41, , 53F
08/28 17:41, 53F
討論串 (同標題文章)
Prob_Solve 近期熱門文章
PTT數位生活區 即時熱門文章