[問題] 兩數列的比較
看板Prob_Solve (計算數學 Problem Solving)作者Arton0306 (Ar藤)時間16年前 (2008/09/05 15:36)推噓7(7推 0噓 14→)留言21則, 5人參與討論串1/1
小弟不知道這問題是否有名字
問題如下
一長數列長度m 如
3 5 4 2 1 4 3 5 1
一短數列長度n 如
3 4 5
求 短數列對應到長數列的哪片段 會有最小的euclidean distance
像這個例子 會對到
3 5 4 2 1 4 3 5 1
3 4 5
3 4 5
數字範圍0~100的整數
100000>m>1000 10000>n>10
m>n
想問是否有比O(mn)更好的算法??
感謝!!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.114.229.83
推
09/05 21:21, , 1F
09/05 21:21, 1F
→
09/06 00:50, , 2F
09/06 00:50, 2F
→
09/06 00:51, , 3F
09/06 00:51, 3F
※ 編輯: Arton0306 來自: 140.114.229.83 (09/06 00:52)
※ 編輯: Arton0306 來自: 140.114.229.83 (09/06 00:53)
→
09/06 00:54, , 4F
09/06 00:54, 4F
推
09/06 07:24, , 5F
09/06 07:24, 5F
→
09/06 20:09, , 6F
09/06 20:09, 6F
推
09/08 19:22, , 7F
09/08 19:22, 7F
→
09/08 19:24, , 8F
09/08 19:24, 8F
→
09/08 19:25, , 9F
09/08 19:25, 9F
→
09/08 19:27, , 10F
09/08 19:27, 10F
推
09/09 22:46, , 11F
09/09 22:46, 11F
→
09/09 22:46, , 12F
09/09 22:46, 12F
→
09/11 10:08, , 13F
09/11 10:08, 13F
→
09/11 10:08, , 14F
09/11 10:08, 14F
→
09/11 10:09, , 15F
09/11 10:09, 15F
→
09/11 10:10, , 16F
09/11 10:10, 16F
推
09/11 10:17, , 17F
09/11 10:17, 17F
→
09/11 10:18, , 18F
09/11 10:18, 18F
推
09/11 21:52, , 19F
09/11 21:52, 19F
推
09/11 21:55, , 20F
09/11 21:55, 20F
→
09/11 21:59, , 21F
09/11 21:59, 21F
Prob_Solve 近期熱門文章
PTT數位生活區 即時熱門文章