Lecture 1 Introduction/Overview Text: Chapters 1, 2 Wed. 1/28/04

Slides:



Advertisements
Similar presentations
Design and Analysis of Algorithms Maria-Florina (Nina) Balcan Lecture 1, Jan. 14 th 2011.
Advertisements

Analysis & Design of Algorithms (CSCE 321)
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2001 Midterm Review Fri. Oct 26.
Jan Welcome to the Course of Advanced Algorithm Design (ACS-7101/3)
CSCE 210 Data Structures and Algorithms
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2001 Lecture 1 (Part 1) Introduction/Overview Tuesday, 9/4/01.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Spring, 2005 Lecture 1 (Part 1) Introduction/Overview Tuesday, 1/25/05.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2009 Lecture 1 Introduction/Overview Text: Chapters 1, 2 Th. 9/3/2009.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2004 Final Review.
COMP 122 – Design and Analysis of Algorithms Spring 2004 MW 11:00-12:15, SN 014 Instructor:Jack Snoeyink TA: Nathan Fisher SN.
DAST, Spring © L. Joskowicz 1 Data Structures – LECTURE 1 Introduction Motivation: algorithms and abstract data types Easy problems, hard problems.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Spring, 2003 Review Lecture Tuesday, 5/6/03.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2006 Text: Chapter 3 Growth of Functions.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2002 Lecture 1 (Part 1) Introduction/Overview Tuesday, 9/3/02.
UMass Lowell Computer Science Foundations of Computer Science Prof. Karen Daniels Fall, 2009 Lecture 1 Introduction/Overview Th. 9/3/2009.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2002 Review Lecture Tuesday, 12/10/02.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2001 Lecture 1 Introduction/Overview Wed. 9/5/01.
CS 206 Introduction to Computer Science II 04 / 29 / 2009 Instructor: Michael Eckmann.
UMass Lowell Computer Science Advanced Algorithms Computational Geometry Prof. Karen Daniels Spring, 2007 Lecture 1 Course Introduction.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2001 Lectures 2, 3 Chapters 1, 2 Fri. 9/7/01 – Mon. 9/10/01.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2005 Lecture 1 Introduction/Overview Text: Chapters 1, 2 Wed. 9/7/05.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2000 Final Review Wed. 12/13.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2004 Lecture 1 (Part 1) Introduction/Overview Wednesday, 9/8/04.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Spring, 2007 Lecture 1 Introduction/Overview Text: Chapters 1, 2 Wed. 1/24/07.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Spring, 2001 Lecture 1 Introduction/Overview Wed. 1/31/01.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2000 Lecture 1 Introduction/Overview Wed. 9/6/00.
Data Structures, Spring 2004 © L. Joskowicz 1 DAST – Final Lecture Summary and overview What we have learned. Why it is important. What next.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Spring, 2002 Lecture 1 (Part 1) Introduction/Overview Tuesday, 1/29/02.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Spring, 2001 Final Review Mon. 5/14-Wed. 5/16.
Text Chapters 1, 2. Sorting ä Sorting Problem: ä Input: A sequence of n numbers ä Output: A permutation (reordering) of the input sequence such that:
DAST, Spring © L. Joskowicz 1 Data Structures – LECTURE 1 Introduction Motivation: algorithms and abstract data types Easy problems, hard problems.
Instructor: Dr. Sahar Shabanah Fall Lectures ST, 9:30 pm-11:00 pm Text book: M. T. Goodrich and R. Tamassia, “Data Structures and Algorithms in.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Spring, 2002 Lecture 1 Introduction/Overview Text: Chapters 1, 2 Thurs.
CS223 Algorithms D-Term 2013 Instructor: Mohamed Eltabakh WPI, CS Introduction Slide 1.
1 CS 233 Data Structures and Algorithms 황승원 Fall 2010 CSE, POSTECH.
Course Web Page Most information about the course (including the syllabus) will be posted on the course wiki:
10/20/20151 CS 3343: Analysis of Algorithms Review for final.
December 4, Algorithms and Data Structures Lecture XV Simonas Šaltenis Aalborg University
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Spring, 2009 Lecture 1 (Part 1) Introduction/Overview Tuesday, 1/27/09.
1 BIM304: Algorithm Design Time: Friday 9-12am Location: B4 Instructor: Cuneyt Akinlar Grading –2 Midterms – 20% and 30% respectively –Final – 30% –Projects.
Design and Analysis of Algorithms (09 Credits / 5 hours per week) Sixth Semester: Computer Science & Engineering M.B.Chandak
CES 592 Theory of Software Systems B. Ravikumar (Ravi) Office: 124 Darwin Hall.
Data Structures and Algorithms in Java AlaaEddin 2012.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2001 Review Lecture Tuesday, 12/11/01.
Design and Analysis of Algorithms Introduction Instructors:1. B V Kiran Mayee, 2. A Madhavi
BITS Pilani Pilani Campus Data Structure and Algorithms Design Dr. Maheswari Karthikeyan Lecture1.
CS16: Introduction to Algorithms and Data Structures
CSCE 210 Data Structures and Algorithms
Introduction to Data Structures
Welcome to the Course of Advanced Algorithm Design
Design and Analysis of Algorithms (09 Credits / 5 hours per week)
Lecture 1 (Part 1) Introduction/Overview Tuesday, 9/9/08
About CS5234 (Wk 0) Course Overview About CS5234 Homeworks
Summary of lectures Introduction to Algorithm Analysis and Design (Chapter 1-3). Lecture Slides Recurrence and Master Theorem (Chapter 4). Lecture Slides.
CS 583 Fall 2006 Analysis of Algorithms
CS302 Data Structures Fall 2012.
CS 3343: Analysis of Algorithms
Introduction to Algorithms
CS 3343: Analysis of Algorithms
Definition In simple terms, an algorithm is a series of instructions to solve a problem (complete a task) We focus on Deterministic Algorithms Under the.
Design and Analysis of Algorithms (07 Credits / 4 hours per week)
CS 3343: Analysis of Algorithms
CS 3343: Analysis of Algorithms
CS 3343: Analysis of Algorithms
COSC 320 Advanced Data Structures and Algorithm Analysis
CS 3343: Analysis of Algorithms
Lecture 2 Introduction/Overview Fri. 9/8/00
Department of Computer Science & Engineering
Design and Analysis of Algorithms (04 Credits / 4 hours per week)
COMP 122 – Design and Analysis of Algorithms
Presentation transcript:

Lecture 1 Introduction/Overview Text: Chapters 1, 2 Wed. 1/28/04 UMass Lowell Computer Science 91.404 Analysis of Algorithms Prof. Karen Daniels Spring, 2004 Lecture 1 Introduction/Overview Text: Chapters 1, 2 Wed. 1/28/04

Web Page Web Page http://www.cs.uml.edu/~kdaniels/courses/ALG_404.html

Nature of the Course Core course: required for all CS majors Advanced undergraduate level Graduate students take separate course (91.503) No programming required “Pencil-and-paper” exercises Lectures supplemented by: Programs Real-world examples

What’s It All About? Algorithm: Some of our goals: steps for the computer to follow to solve a problem well-defined computational procedure that transforms input into output Some of our goals: recognize structure of some common problems understand important characteristics of algorithms to solve common problems select appropriate algorithm to solve a problem tailor existing algorithms create new algorithms

Some Algorithm Application Areas Computer Graphics Geographic Information Systems Robotics Bioinformatics Astrophysics Medical Imaging Telecommunications Design Apply Algorithms Analyze

Some Typical Problems Sorting Minimum Spanning Tree Median finding Input: Set of items Problem: Arrange items “in order” Median finding Input: Set of numbers or keys Problem: Find item smaller than half of items and bigger than half of items Minimum Spanning Tree Input: Graph G = (V,E) with weighted edges Problem: Find subset of E of G of minimum weight which forms a tree on V Shortest Path Input: Edge-weighted graph G , with start vertex and end vertex t Problem: Find the shortest path from to t in G SOURCE: Steve Skiena’s Algorithm Design Manual (for problem descriptions, see graphics gallery at http://www.cs.sunysb.edu/~algorith)

Tools of the Trade Algorithm Design Patterns such as: divide-and-conquer Data Structures such as: trees, linked lists, hash tables, graphs Algorithm Analysis Techniques such as: asymptotic analysis probabilistic analysis Growth of Functions Summations Recurrences Sets Probability MATH Proofs Logarithms Permutations Combinations

Tools of the Trade: (continued) Algorithm Animation http://www.cs.brockport.edu/cs/java/apps/sorters/insertsortaniminp.html

What are we measuring? Some Analysis Criteria: Scope “Dimension” The problem itself? A particular algorithm that solves the problem? “Dimension” Time Complexity? Space Complexity? Type of Bound Upper? Lower? Both? Type of Input Best-Case? Average-Case? Worst-Case? Type of Implementation Choice of Data Structure

Prerequisites Computing I (91.101) Computing II (91.102) Discrete Math I & II (92.321, 92.322) Statistics for Scientists and Engineers (92.386) Calculus I-III (92.131-231) Growth of Functions Summations Recurrences Sets Probability MATH Proofs Logarithms Permutations Combinations

Course Structure: 4 Parts Foundations Analyzing & Designing Algorithms, Growth of Functions, Recurrences, Probability & Randomized Algorithms Sorting Heapsort, Priority Queues, Quicksort, Sorting in Linear Time Data Structures Stacks and Queues, Linked Lists, Introduction to Trees, Hash Tables, Binary Search Trees, Balancing Trees: Red-Black Trees Graph Algorithms DFS, BFS, Topological Sort, MST, Shortest paths Part 1 Part 2 Part 3 Part 4

Textbook Required: Introduction to Algorithms by T.H. Corman, C.E. Leiserson, R.L. Rivest McGraw-Hill 2001 ISBN 0-07-013151-1 see course web site (MiscDocuments) for errata (1st edition) New Edition Ordered for UML bookstore

Syllabus (current plan)     Syllabus (current plan) Lecture Date Topic Reading Foundations Chapters 1-5 W 1/28 Introduction/Overview Chapter 1 F 1/30, M 2/2, W 2/4 Analyzing & Designing Algorithms Chapter 2 F 2/6, M 2/9, W 2/11 Growth of Functions Chapter 3 F 2/13, W 2/18, Th 2/19 Recurrences Chapter 4 F 2/20, M 2/23, W 2/25 Probability & Randomized Algorithms Chapter 5 Sorting Chapters 6-9 F 2/27, M 3/1 Heapsort/ Priority Queues Chapter 6 W 3/3, F 3/5 Quicksort Chapter 7 M 3/8, W 3/10 Review F 3/12 Midterm Exam M 3/22 W 3/24, F 3/26, M 3/29 Sorting in Linear Time Chapter 8 Data Structures Chapters 10-13 W 3/31, F 4/1, M 4/5 Stacks, Queues, Linked Lists, Trees Chapter 10 W 4/7, F 4/9 Hash Tables Chapter 11 M 4/12, W 4/16, F 4/18 Binary Search Trees Chapter 12 W 4/21, F 4/23 Balancing Trees: Red-Black Trees Chapter 13 Graph Algorithms Chapters 22-24 M 4/26, W 4/28, M 5/3 Elementary Graph Algorithms Chapter 22 W 5/5, F 5/7 Minimum Spanning Trees Chapter 23 M 5/10 Shortest Paths Chapter 24 W 5/12, F 5/14 1-13, 15-16, 22-24 To Be Determined Final Exam Revised for Fall, 2001 in accordance with ACM Computer Science Computing Curricula 2001, Steelman Draft, August, 2001.

CS Theory Math Review Sheet The Most Relevant Parts... O, Q, W definitions Series Combinations p. 2 Recurrences & Master Method p. 3 Probability Factorial Logs Stirling’s approx p. 4 Matrices p. 5 Graph Theory p. 6 Calculus Product, Quotient rules Integration, Differentiation Logs p. 8 Finite Calculus p. 9 Series Math fact sheet (courtesy of Prof. Costello) is on our web site.

Important Dates Midterm Exam (Chapters 1-5): Friday, 3/12 Final Exam: TBA

Grading Homework 35% Midterm (Chapters 1-5) 30% (open book, notes ) Final Exam 35% (open book, notes )