演算法分析(nalyzing Algorithms).pptVIP

  • 5
  • 0
  • 约5.07千字
  • 约 32页
  • 2018-11-09 发布于江苏
  • 举报
演算法分析(nalyzing Algorithms)

上高斯符號 (ceiling) 與下高斯符號 (floor) 模數運算(modular operation) 對任意整數a 與 任意正整數n, 數值a mod n 為 a/n 的餘數 : a mod n =a -?a/n?n. 若(a mod n) = (b mod n), 我們可以寫成 a ? b (mod n)並且說a 與b 在mod n (modulo n)下為等價(equivalent)的。 若我們寫a ? b (mod n) 則a 與b 在mod n之下並不為等價的。 演算法分析 (Analyzing Algorithms) 參考: 物件導向資料結構 — 使用Java語言, 江振瑞 著, 松崗圖書公司, 2005. Introduction to the Design and Analysis of Algorithms -- A strategic approach, 2E, R.C.T. Lee et. al., NcGraw Hill, 2005. Introduction to Algorithms, Cormen et. al., MIT Press. 演算法分析 分析一個演算法指的是要對演算法所需要的資源(resources)進行預測。 資源(Resources):記憶體(memory),通訊(communication),頻寬(band

文档评论(0)

1亿VIP精品文档

相关文档