Efficiency of Computation - 0368.2160

Noga Alon ( noga@math.tau.ac.il )
1st Semester, 2004/05 - Tuesday 15-18
School of Computer Science,
Tel-Aviv University

Procedural Matters:

Prerequisite Courses: Data Structures, Linear Algebra, Calculus, Discrete Mathematics. Exercises will be given in the recitations, and their solutions will be graded. These will form about 10% of the final grade . The rest of the final grade will be determined by the final exam.

Text books:

Introduction to Algorithms, by T. Cormen, C. Leiserson and R. Rivest. MIT Press, 1990 (CLR).
Most of the course follows the above book.
Graph Algorithms, by S. Even. Computer Science Press, 1979.
Data Structures and Network Algorithms, by R. E. Tarjan. SIAM, 1983.

Course syllabus:

Graph Algorithms: Breadth first search, Depth first search, Topological sort, Strongly connected components, Biconnected components, Minimum spanning trees (Kruskal, Prim), Shortest paths (Dijkstra, Bellman-Ford), All-pairs shortest paths (Floyd-Warshall, Johnson), Dynamic Programming, Flow algorithms (Ford-Fulkerson, Edmonds-Karp, Dinic). String matching: Finite automata, KMP. Introduction to NP-completeness.

Course Outline:

1.     October 19:
Introduction and notation, representation of graphs, BFS

2.     October 26:
BFS (end), DFS

3.     November 2:
Applications of DFS: topological sort, strongly connected components.

4.     November 9:
Minimum Spanning Trees, Kruskal's Algorithm.

5.     November 16:
Prim's Algorithm, Shortest paths.

6.     November 23:
More on shortest paths, Dijkstra's Algorithm.

7.     November 30:
The algorithm of Bellman and Ford, All pairs shortest paths.

8.     December 7:
The algorithm of Floyd and Warshall, Johnson's Algorithm.

9.     December 14:
Dynamic Programming.

10. December 21:
Network flows, the Max-flow Min-cut Theorem, Ford and Fulkerson's algorithm.

11. December 28:
The algorithm of
Edmonds and Karp, Dinic' algorithm, 0/1 networks.

12. January 4:
String matching, the KMP algorithm.

13. January 11:
Introduction to NP-completeness

14. January 18:
More on NP-completeness. Concluding remarks.

 

Handouts:

·        Exercise 1

·        Solution 1

·        Exercise 2

·        Solution 2

·        Exercise 3

·        Solution 3

·        Exercise 4

·        Solution 4

·        Exercise 5

·        Solution 5

·        Exercise 6

·        Solution 6

·        Exercise 7

·        Solution 7