CS6170 - Algorithms Design To Elect Leader Among The Agents And Probability In Time That Is Logarithmic - IT/Computer Science Assignment Help

Download Solution Order New Solution
Assignment Task -

 Randomized Algorithms ;

 

1. Consider the (?+1)-colouring algorithm discussed above without the sleeping step, i.e., all  vertices are awake in every step and pick a tentative colour uniformly at random from its list  of colours. Show that this algorithm also finds a (?+1)-coloring in ??(log ??) rounds with high  probability (whp). (Exercise 6.7 from Pandurangan.) 

 

2. A matching of a graph G = (V,E) is a subset of edges M ⊆ E such that no two edges in M share  a common vertex. A matching M is maximal if no more edges can be added to M while  keeping M as a matching. Give an O(logn)-round (whp) distributed algorithm for finding a  maximal matching. (Exercise 6.11 from Pandurangan.) 

 

3. In the gossip model of communication, we have  nodes with unique IDs that operate in the  following synchronous manner. In each round, the nodes are randomly paired up to form a  matching with pairs and each pair of matched nodes can exchange messages of size logarithmic in Note that there is no underlying network graph, so any node can be paired  with any other node. Design an algorithm for leader election and prove that it terminates  with high probability in time that is logarithmic in . 

 

4. Consider a set of mobile agents that are present in a ring of vertices. You may assume  that and are sufficiently large. The vertices in the ring can be viewed as just rooms with a  door pointing clockwise and another door pointing counterclockwise. The mobile agents  have unique IDs and operate in synchronous rounds. In each round, each agent is

(i) aware  of all other agents in the vertex that  is currently in,

(ii) can send an (log + log )-bits  message to each co-occupant (i.e., other agents in the same room as ),

(iii) receive  messages sent by its co-occupants, and finally

(iv) move one step either clockwise or  counterclockwise. Each time an agent moves from one vertex to a neighbouring vertex, it  must spend one unit of energy.  

 

Design algorithms to elect a leader among the agents using the least total energy under the  following two assumptions:

(i) Only is known to the agents and

(ii) only is known to the  agents. What are the best guarantees that you can achieve in terms of

(a) correctness  probability and

(b) total energy expenditure? Note that the question is left a bit open-ended  on purpose.

 

 

 

This (CS6170) IT/Computer Science Assignment has been solved by our IT/Computer Science Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.
 

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.