UMass Lowell Computer Science 91.503 Analysis of Algorithms Prof. Karen Daniels Spring, 2002 Lecture 1 (Part 1) Introduction/Overview Tuesday, 1/29/02.

Slides:



Advertisements
Similar presentations
Analysis & Design of Algorithms (CSCE 321)
Advertisements

UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2001 Midterm Review Fri. Oct 26.
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.
About the Course Lecture 0: Sep 2 AB C. Plan  Course Information and Arrangement  Course Requirement  Topics and objectives of this course.
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, 2002 Lecture 2 Tuesday, 9/10/02 Design Patterns for Optimization.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2001 Lecture 6 Tuesday, 10/30/01 Approximation Algorithms.
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, 2001 Lecture 4 Tuesday, 10/2/01 Graph Algorithms: Part 2 Network.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2002 Review Lecture Tuesday, 12/10/02.
UMass Lowell Computer Science Geometric Modeling Prof. Karen Daniels Spring, 2009 Lecture 1 Course Introduction.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Spring, 2002 Tuesday, 5/7/02 Computational Geometry Chapter 33.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2001 Lecture 1 Introduction/Overview Wed. 9/5/01.
UMass Lowell Computer Science Advanced Algorithms Computational Geometry Prof. Karen Daniels Spring, 2007 Lecture 1 Course Introduction.
CSE 421 Algorithms Richard Anderson Lecture 27 NP Completeness.
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 Advanced Algorithms Computational Geometry Prof. Karen Daniels Spring, 2001 Lecture 6 Start of Part II Material Monday,
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2000 Lecture 1 Introduction/Overview Wed. 9/6/00.
Discrete Structures for Computer Science Ruoming Jin MW 5:30 – 6:45pm Fall 2009 rm MSB115.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2008 Lecture 2 Tuesday, 9/16/08 Design Patterns for Optimization.
CSE 589 Applied Algorithms Course Introduction. CSE Lecture 1 - Spring Instructors Instructor –Richard Ladner –206.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Spring, 2001 Final Review Mon. 5/14-Wed. 5/16.
1 Summary of lectures 1.Introduction to Algorithm Analysis and Design (Chapter 1-3). Lecture SlidesLecture Slides 2.Recurrence and Master Theorem (Chapter.
Piyush Kumar (Lecture 1: Introduction)
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Spring, 2002 Lecture 1 Introduction/Overview Text: Chapters 1, 2 Thurs.
Information Networks Introduction to networks Lecture 1.
Algorithms  Al-Khwarizmi, arab mathematician, 8 th century  Wrote a book: al-kitab… from which the word Algebra comes  Oldest algorithm: Euclidian algorithm.
Approximation Algorithms
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Spring, 2009 Lecture 1 (Part 1) Introduction/Overview Tuesday, 1/27/09.
CSE 421 Algorithms Richard Anderson Lecture 27 NP-Completeness and course wrap up.
Analysis of Algorithms COME 355 Introduction. What is an algorithm? An algorithm is a sequence of unambiguous instructions for solving a problem, i.e.,
Data Structures and Algorithms in Parallel Computing Lecture 2.
CSE 589 Part V One of the symptoms of an approaching nervous breakdown is the belief that one’s work is terribly important. Bertrand Russell.
Design and Analysis of Algorithms (09 Credits / 5 hours per week) Sixth Semester: Computer Science & Engineering M.B.Chandak
Lecture 7 Jianjun Hu Department of Computer Science and Engineering University of South Carolina CSCE350 Algorithms and Data Structure.
Random Geometric Graph Model Model for ad hoc/sensor networks n nodes placed in d-dim space Connectivity threshold r Two nodes u,v connected iff ||u-v||
1 CPSC 320: Intermediate Algorithm Design and Analysis July 30, 2014.
CES 592 Theory of Software Systems B. Ravikumar (Ravi) Office: 124 Darwin Hall.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2001 Review Lecture Tuesday, 12/11/01.
Computational Complexity Shirley Moore CS4390/5390 Fall 2013 August 27, 2013.
CSE 421 Algorithms Richard Anderson Lecture 27 NP-Completeness Proofs.
ICS 353: Design and Analysis of Algorithms NP-Complete Problems King Fahd University of Petroleum & Minerals Information & Computer Science Department.
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
Richard Anderson Lectures NP-Completeness
Lecture 1 Introduction/Overview Text: Chapters 1, 2 Wed. 1/28/04
Richard Anderson Lecture 29 NP-Completeness and course wrap-up
Piyush Kumar (Lecture 1: Introduction)
Summary of lectures Introduction to Algorithm Analysis and Design (Chapter 1-3). Lecture Slides Recurrence and Master Theorem (Chapter 4). Lecture Slides.
Piyush Kumar (Lecture 1: Introduction)
Parallel and Distributed Algorithms (CS 6/76501) Spring 2007
Design and Analysis of Algorithms (07 Credits / 4 hours per week)
Richard Anderson Lecture 25 NP-Completeness
Richard Anderson Lecture 29 Complexity Theory
Richard Anderson Lecture 30 NP-Completeness
Piyush Kumar (Lecture 1: Introduction)
Lecture 2 Introduction/Overview Fri. 9/8/00
Piyush Kumar (Lecture 1: Introduction)
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:

UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Spring, 2002 Lecture 1 (Part 1) Introduction/Overview Tuesday, 1/29/02

Web Page Web Page

Nature of the Course ä Core course: required for all CS graduate students ä Advanced algorithms ä Builds on undergraduate algorithms ä No programming required ä “Pencil-and-paper” exercises ä Lectures supplemented by: ä Programs ä Real-world examples

What’s It All About? ä Algorithm: ä steps for the computer to follow to solve a problem ä Some of our goals :(at an advanced level) ä 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 Analyze

Some Typical Problems Fourier Transform Input: A sequence of n real or complex values h_i, 0 <= i <= n-1, sampled at uniform intervals from a function h. Problem: Compute the discrete Fourier transform H of h Nearest Neighbor Input: A set S of n points in d dimensions; a query point q. Input: A set S of n points in d dimensions; a query point q. Problem: Which point in S is closest to q? Problem: Which point in S is closest to q? SOURCE: Steve Skiena’s Algorithm Design Manual (for problem descriptions, see graphics gallery at ) (for problem descriptions, see graphics gallery at Shortest Path Input: Edge-weighted graph G, with start vertex and end vertex t Problem: Find the shortest path from to t in G Bin Packing Input: A set of n items with sizes d_1,...,d_n. A set of m bins with capacity c_1,...,c_m. Problem: How do you store the set of items using the fewest number of bins?

Some Typical Problems Transitive Closure Input: A directed graph G=(V,E). Problem: Construct a graph G'=(V,E') with edge (i,j) \in E' iff there is a directed path from i to j in G. For transitive reduction, construct a small graph G'=(V,E') with a directed path from i to j in G' iff (i,j) \in E. Convex Hull Input: A set S of n points in d- dimensional space. Problem: Find the smallest convex polygon containing all the points of S. Problem: Find the smallest convex polygon containing all the points of S. Eulerian Cycle Input: A graph G=(V,E). Problem: Find the shortest tour of G visiting each edge at least once. Edge Coloring Input: A graph G=(V,E). Problem: What is the smallest set of colors needed to color the edges of E such that no two edges with the same color share a vertex in common?

Some Typical Problems Hamiltonian Cycle Input: A graph G=(V,E). Problem: Find an ordering of the vertices such that each vertex is visited exactly once. Clique Input: A graph G=(V,E). Problem: What is the largest S \subset V such that for all x,y \in S, (x,y) \in E?

Tools of the Trade: Core Material ä Algorithm Design Patterns ä dynamic programming, linear programming, greedy algorithms, approximation algorithms, randomized algorithms, parallel algorithms, sweep algorithms ä Advanced Analysis Techniques ä amortized analysis, probabilistic analysis ä Theoretical Computer Science principles ä NP-completeness, NP-hardness Asymptotic Growth of Functions Summations Recurrences Sets Probability MATH Proofs Calculus Combinations Logarithms Number Theory Geometry Trigonometry Complex Numbers Permutations Linear Algebra Polynomials

Prerequisites ä and or ä Co-requisite ä Standard graduate-level prerequisites for math background apply. Asymptotic Growth of Functions Summations Recurrences Sets Probability MATH Proofs Calculus Combinations Logarithms Number Theory Geometry Trigonometry Complex Numbers Permutations Linear Algebra Polynomials

Some Important Types of Algorithms & Problems ä Graph Algorithms ä Shortest paths (single source & all pairs) ä Maximum flow ä Number Theoretic Algorithms ä Cryptography ä String/Pattern Matching ä Computational Geometry ä Intersections ä Convex hull ä Nearest neighbors

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

Syllabus (current plan) Lecture Date Topic ReadingHomework T 1/29 Introduction/Overview Algorithmic Paradigms: Greedy Review reading Ch 16 assign #1 ( review & Ch16) T 2/5 Algorithmic Paradigms: Dynamic Programming Amortized Analysis Ch 15, 17 #1 due; assign #2 (Ch 15,17) T 2/12 Graph Algorithms Ch 25 #2 due; assign #3 (Ch 25) T 2/19 Graph AlgorithmsCh 26 #3 due; assign #4 (Ch 26) T 2/26 NP-CompletenessCh 34 #4 due; assign #5 (Ch 34) T 3/5 NP-CompletenessCh 34 T 3/12 Midterm Exam reading Ch 15-17, 25-26, 34 #5 due T 3/26 Approximation AlgsCh 35 assign #6 (Ch 35, 29) T 4/2 Linear ProgrammingCh 29 T 4/9 Number-Theoretic AlgsCh 31 #6 due; assign #7 (Ch 31, 32) T4/16 String MatchingCh 32 T 4/23 Computational GeometryCh 33 #7 due; assign #8 (Ch 33, 27) T 4/30 Parallel AlgorithmsCh 27 T 5/7 Final Review reading Ch 15-17, 25-27, 29, #8 due; distribute final exam handout To Be Determined Final Exam reading Ch 15-17, 25-27,29, 31-35

Chapter Dependencies Math Review Appendices A, B, C: Summations, Proof Techniques (e.g. Induction), Sets, Graphs, Counting & Probability Ch 1-5 Foundations: Asymptotics, Logs, Recurrences, Randomized Algorithms Ch 6-9 Sorting Ch 15, 16, 17 Advanced Design & Analysis Techniques Ch 22-24,25,26 Graph Algorithms Ch 27 Parallel Comparison-Based Sorting Networks Math: Linear Algebra Ch 33 Computational Geometry Math: Geometry (High School Level) Ch 34 NP-Completeness Ch 35 Approximation Algorithms Ch 31 Number-Theoretic Algorithms RSA Math: Number Theory Ch 32 String Matching Automata New Edition

Important Dates ä Midterm Exam:Tuesday, 3/12 ä Final Exam:TBA

Grading ä ä Homework35% ä ä Midterm 30% (open book, notes ) ä ä Final Exam35% (open book, notes )

Homework 1 T 1/29 T 2/ review & Chapter 16 HW# Assigned Due Content