data structures algorithms 171 622 data management
play

Data Structures Algorithms & 171-622 Data Management - PDF document

Data Structures Algorithms & 171-622 Data Management ( 311 13:00-15:00)


  1. Data Structures Algorithms &

  2. 171-622 Data Management สมชาย ประสิทธิ์จูตระกูล ผูสอน ( หอง 311 ทุกวันอังคาร 13:00-15:00) หนังสืออางอิง 1. "Data Structures and Program Design in C" R.L.Kruse, B.P.Leung, and C.L.Tondo. การบาน 20% คะแนน สอบกลางภาค 30% สอบปลายภาค 50% S. Prasitjutrakul 1994

  3. โครงสรางขอมูลและอัลกอริธึม ! บทนํ า ! ตารางและการคนคืนขอมูล ! รายการ , กองซอน , แถวคอย การหาเลขที่อยูแบบแฮช ! รายการโยง ! การเรียงลํ าดับขอมูล ! การประยุกตใชกองซอน ! ตนไมแบบทวิภาค และแถวคอย ! โครงสรางขอมูลแบบอื่นๆ ! การคนหาขอมูล ! หัวขอพิเศษอื่นๆ ! การวิเคราะหความซับซอน ของอัลกอริธึม S. Prasitjutrakul 1994

  4. Definition ! Algorithm : a problem-solving method suitable for computer implementation ! a finite sequence of instructions ! each instruction has a clear meaning ! each instruction can be performed with a finite amount of effort in a finite length of time ! Data Structure : collections of related data objects involved in the computation S. Prasitjutrakul 1994

  5. The Study of Algorithms ! machines for executing algorithms ! languages for describing algorithms ! foundations of algorithms ! analysis of algorithms S. Prasitjutrakul 1994

  6. The Study of Data ! machines that hold data ! languages for describing data manipulation ! foundations which describe what kinds of refined data can be produced from raw data ! structures for representing data S. Prasitjutrakul 1994

  7. Data Structures & Algorithms Data Structures Algorithms ! simple algorithms can give rise to complicated data structures ! complicated algorithms can use simple data structures S. Prasitjutrakul 1994

  8. Course Objectives structuring of data systhesis of algorithms ! to study the properties of many data structures ! to study a variety of fundamental algorithms students will be able to devise alternative forms of data representation ! to analyze the algorithm which operates on that structure ! S. Prasitjutrakul 1994

  9. Example : Shortest Path Problem S. Prasitjutrakul 1994

  10. Example: Shortest Path Problem 2 4 3 3 5 5 2 2 1 1 A A 1 Z 1 Z 1 3 1 3 1 4 4 1 3 7 2 2 4 3 3 5 2 5 2 1 9 A 1 Z 1 A 1 Z 1 3 1 3 4 1 1 4 3 3 5 7 2 5 2 3 4 3 5 2 5 2 1 Z 6 A 1 1 A 1 Z 1 3 1 3 1 4 1 4 S. Prasitjutrakul 1994 3

  11. Graph A B C D E F Z ∞ ∞ ∞ ∞ ∞ B C 3 A 2 3 ∞ ∞ ∞ ∞ ∞ B 2 3 5 2 ∞ ∞ ∞ 1 C 3 1 1 5 A 1 Z ∞ ∞ ∞ ∞ D 3 1 4 1 3 4 1 ∞ ∞ ∞ ∞ ∞ E 4 1 D E F ∞ ∞ ∞ ∞ F 1 1 1 ∞ ∞ ∞ ∞ ∞ Z 5 1 A B C D E F Z ∞ ∞ ∞ ∞ ∞ A 2 3 ∞ ∞ ∞ ∞ ∞ B 2 3 ∞ ∞ ∞ C 3 1 1 5 ∞ ∞ ∞ ∞ D 3 1 4 ∞ ∞ ∞ ∞ ∞ E 4 1 ∞ ∞ ∞ ∞ F 1 1 1 ∞ ∞ ∞ ∞ ∞ Z 5 1 S. Prasitjutrakul 1994

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend