
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The revised version of homework assignment #4 for cs 410/584 algorithm design & analysis course offered in spring 2009. The assignment includes instructions, reading materials, and exercises with varying point values. Students are expected to work alone but can discuss problems on the class mailing list. The due date is may 13, and the reading materials include sections from chapters 26, 28, and 30.
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!

CS 410/584 Algorithm Design & Analysis: Spring 2009
This assignment is due Wednesday, 13 May, at the beginning of class. You should work alone on this assignment. However, you are free to discuss the problems on the class mailing list. (Or you can send me email questions directly; please put โCS 584โ at the beginning of the subject line.) Please put โ410โ or โ584โ on your paper, depending on which section you are registered in.
Reading: Chapter 26.1-3; Chapter 28.1, 28.2, 28.4; Chapter 30; Chapter 32 intro, 32.1, 32.3, 32.
Note: On any homework exercise where you are asked to give an algorithm, you must also provide an English description of how it works and at least one example execution.
Exercises: 25.2-6 (5 points; no need for an example), 26.2-2 (10 points; show each augmenting path you use and the final flow), 28.4-1 (10 points), 28.4-4 (20 points, 584 only. Hint: Do Exercise 4A first.), 30.2-2 (5 points; show the results of the recursive calls of FFT.)
4A (10 points): Let A be the adjacency matrix for directed graph G. What does A^2 represent (assuming Boolean matrix multiplication)? Show an example for a graph of at least 5 nodes.
4B (10 points): Explain how you would evaluate x^56 + x 36 + x 5 at a point using many fewer than 55 multiplications.
k
k+r