- 18
- 0
- 约4.96千字
- 约 30页
- 2020-06-05 发布于湖北
- 举报
高等計算機演算法Advanced Computer Algorithms 課程內容: Design Methods Analysis Methods The theory of NP-completeness Design Methods Analysis Methods 教科書 Introduction to the Design and Analysis of Algorithms R.C.T Lee R.C. Chang S.S. Tseng Y.T. Tsai Second Edition 旗標代理 分數 期中考 35% 期末考 35% 報告 30% Algorithm A number of rules, which are to be followed in a prescribed order, for solving a specific type of problems A method that can be used by a computer to solve a problem. Computer Algorithm – Five Criteria Input Output Finiteness Definiteness Effectiveness Motivations of studying Algorithms Algorithm is everywhere Use computers efficiently Optimal solution NP-complete problems(Decision problems) NP-hard problems(Optimization problems) next Use computers efficiently Sorting algorithms 11, 7, 14, 1, 5, 9, 10 ↓sort 1, 5, 7, 9, 10, 11, 14 ? Insertion sort Quick sort Comparison with Two Algorithms Implemented on Two Computers The study of Algorithms: How to design algorithms How to validate algorithms How to analyze algorithms How to test a program How to design algorithm The study of algorithm design is almost a study of strategies How to analyze algorithm Measure the goodness of algorithms efficiency?(time/space) asymptotic notations: O( ) worst case average case amortized Measure the difficulty of problems NP-complete undecidable lower bound Is the algorithm optimal? 時間複雜度(time complexity)-worst case executing time 輸入量為n時,演算法的最大執行時間 O(1):常數時間(constant time) O(n):線性時間(linear time) O(log2n):次線性時間(sub-linear time) O(n2):平方時間(quadratic time) O(n3):立方時間(cubic time) O(2n):指數時間(exponential time) ? O(1)O(log2n)O(n)O(nlog2n)O(n2)O(n3)O(2n) Algorithm vs. Program Algorithm的表示方法 *虛擬碼(Pseudo Code) SPARKS, PASCAL-like, Nature Language *流程圖表示法(Flow-chart representation) A program is the expression of an algorithm in a progr
您可能关注的文档
- 高分子科学发展史.ppt
- 高分子化学结构对结晶的影响.ppt
- 高功率因素电子节能灯.doc
- 高压熔断器的结构和性能.pptx
- 高创公司及产品简介_图文.doc
- 高品质再生骨料混凝土的力学性能和耐久性试验研究_图文.doc
- 高分子结构层次.ppt
- 高吸油性树脂的结构及性能.ppt
- 高品质模具钢现状及技术发展方向_图文.doc
- 高品质沟通超级营销学与说服力-翟鸿生_图文.doc
- 统编版道德与法治六年级下册第三单元《多样文明多彩生活》单元测试卷(B卷)[附答案].pdf
- 动能定理:动能定理在刚体动力学中的应用_(4).动能定理在刚体平移中的应用.docx
- 安徽省芜湖市第一中学2024-2025学年高二上学期期中考试 化学Word版无答案.docx
- 统编版道德与法治六年级下册第二单元《爱护地球共同责任》单元测试卷(B卷)[附答案].pdf
- 安徽省五校2024-2025学年高三上学期11月期中联考地理 Word版无答案.docx
- 2026年公共营养师模拟自测卷(营养学会)背题模式(含答案).pdf
- 第四课同步分层作业-2024-2025学年道德与法治六年级下册(统编版)[附答案].pdf
- 福建省福州市六校2023-2024学年高一下学期期末考试化学(原卷版).docx
- 动能定理:动能定理在刚体动力学中的应用_(8).动能定理解决刚体复杂运动问题的方法.docx
- 2026年监理新旧教材对比-土建三控.pdf
最近下载
- 高级钢琴(音阶、琶音、和弦HD版).pdf VIP
- 南昌航空大学公共管理专业考研复试面试问题整理附面试技巧自我介绍.docx VIP
- 中山北路第一小学探究型课程实施方案.doc VIP
- EMBA《招才选将》测试卷1.docx VIP
- 园林植物生产技术绪论.pptx
- 话剧《桑树坪纪事》中饰演李福林的角色创造阐述.docx VIP
- 公司海外工程项目应急响应与处理预案.docx VIP
- EMBA《招才选将》测试卷2.docx VIP
- 2023年初二全等三角形所有知识点总结和常考题提高难题压轴题练习含答案解析.pdf VIP
- 初二平行四边形所有知识点总结和常考题提高难题压轴题练习(含答案解析).pdf VIP
原创力文档

文档评论(0)