下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Data StructureYin LiangInstitute of Geophysics and GeomaticsPrerequisite(预备知识)Computer Architecture (计算机体系结构)C Programming (C语言编程)Discrete Mathematics (离散数学)Probability (概率论)OutlinesTextbooks and ReferencesWhy Data Structure?What is Data Structure?What is Algorithms?Designing AlgorithmsAnalysis of A
2、lgorithmsTextbooks and References严蔚敏、吴伟民编著,数据结构(C语言版),清华大学出版社。(Textbook)Donald E. Knuth,The Arts of Computer Programming (Volume I、II、and III) ,Addison Wesley.Donald E. KnuthTuring Prize Winner (图灵奖)Professor Emeritus at Stanford UniversityWebsite: The Arts of Computer Programming(7 Volumes)Volume I
3、: Fundamental AlgorithmsVolume II: Semi-numerical Algorithms(半数值算法)Volume III: Sorting and SearchingVolume 4A: Combinatorial Algorithms, Part I (2011)Textbooks and ReferencesThomas H. Cormen、 Charles E. Leiserson、 Ronald L. Rivest、Clifford Stein,Introduction to Algorithms,The MIT Press.The 1996 vers
4、ion only Contains the previous 3authors.Introduction to AlgorithmsCharles Leiserson in MITYou can also access the videotaped course on the website: Textbooks and ReferencesMark Allen Weiss, Data Structure and Algorithm Analysis in C (Second Edition), Addison Wesley.Why Data Structure?Rapid developme
5、nt of computer industries and applicationsNot only numerical analysis, but also computers are supposed to process characters, tables and pictures, etc.Data Structure can deal with those non-numerical things and also improve your programming skills. Why Data Structure?Real World InformationMappingDat
6、a StructureDigital Data Stored in ComputersWhat is Data Structure?Organization of DataSet of data, which have some special relations to each otherSet (集合)Linear Structure (线性结构)Tree Structure (树型)Network Structure (网状结构)Algorithm HistoryOrigin from the name of the 9th century Persian Muslim mathemat
7、ician Abu Abdullah Muhammad ibn Musa Al-KhwarizmiAl-Khwarizmis name was translated into algorithm by the 18th century via European Latin.Algorithm HistoryEuclid has created an algorithm that has been given its name.The algo serves to calculate the greatest common divisor, here is it:divide the numbe
8、r a by b, the remainder is r replace a by b replace b by r continue until a cant be more divided. In this case, a is the gcd. What is Algorithms?Set of simple instructions to be followed to solve a problemFeatures of Algorithms:Finity (有限性)Determinacy (确定性)Executability (可执行性)Input/Output (输入/输出)Alg
9、orithms Design CriteriaCorrectness (正确性)Readability (可读性)Robustness (健壮性、稳定性)Efficiency and low memory requirement (效率)Algorithm AnalysisThe theoretical study of computer program performance and resource usage.Is it the most important thing that we should concern in the software engineering?Correctn
10、ess, readability, robustness, security(安全性), modularity(模块化), reusability(可重用性), user friendliness(用户友好性)Why Algorithms?Feasibility vs. infeasibilityClean way to think about solving problemsUnity equivalent to pay for security, user friendliness, functionality and so on.Challenge for speedRunning Ti
11、meDepends on inputs (sorting pokers)Depends on input size (parameterized by input size, asymptotic notation)Upper bound of running timeguarantee to usersRunning TimeHow to estimate the running time of algorithmsPost-statistics (事后统计)Asymptotic notation (渐进表示、事前估计)Running TimePost-statisticsExecute the algorithms on almost the same environment over tons of inputs and compare their perfor
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 拆迁与土地出让管理制度
- 幼儿园大班2和3的组成
- 第1课《白鹭》(第二课时)(分层作业)-【上好课】 五年级语文上册同步高效课堂系列(统编版)
- 2024年松原c1客运资格证考试
- 算法设计与分析 课件 5.10-动态规划总结
- 算法设计与分析 课件 1.2.0-算法分析准则
- 2024年石家庄2024年客运从业资格证
- 2024年资阳客运从业资格证培训考试资料
- 吉首大学《近代工程材料导论》2021-2022学年第一学期期末试卷
- 吉首大学《导演基础》2021-2022学年第一学期期末试卷
- 三年级数学(上)计算题专项练习附答案集锦
- 公务员2021年国考《申论》真题(地市级)及参考答案
- 新教科版小学1-6年级科学需做实验目录
- 2024秋期国家开放大学专科《高等数学基础》一平台在线形考(形考任务一至四)试题及答案
- DPtech-FW1000系列防火墙系统操作手册
- 五年级上册小学高年级学生读本第1讲《伟大事业始于梦想》说课稿
- 图像学完整分
- 印刷服务投标方案(技术方案)
- 思想道德与法治课件:第五章 第二节 吸收借鉴优秀道德成果
- 初级养老护理员培训全套ppt课件ppt
- 物理化学-傅献彩-第八章-电解质溶液ppt课件
评论
0/150
提交评论