
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

CMSC 858S, Spring 2007: Reading Homework 1, due at the start of class on April 13
Notes. Please work on this with your group-mate(s); just submit one writeup per group. Consulting other sources (including the Web) is not allowed. Write your solutions neatly; if you are able to make partial progress by making some additional assumptions, then state these assumptions clearly and submit your partial solution. Problem 1 (the second problem) involves simulation; it is suggested that you start on it at the earliest, to give you some time to do and interpret the simulations.
Pr[i chooses j] = 1 /d(i, j) 1 /1 + 1/2 + 1/3 + · · · + 1/n
In this augmented graph, we want to route a message from node 0 to node n using a distributed algorithm. It has been shown that such routing can be accomplished in O(log^2 n) expected number of steps. As usual, a single step taken by the message can only be from node u to a node v, if there is a directed edge from u to v. Do a simulation of this process for many “large” values of n, and use the simulation runs to (approximately) explain why the expected time should be upper-bounded by something like O(log^2 n); even giving a sound explanation for any upper bound of the form O(logc^ n) for some constant c, is fine. You can choose any language, platform etc. for the simulation. Use your creativity to come up with as good an experimental setup and interpretation of the experimental runs, as you can!