Question: [ Permutation Routing ] Let n be a positive integer and let N = 2 n . A hypercube is a undirected graph over the
Permutation Routing Let be a positive integer and let A hypercube is a undirected
graph over the vertices dots, Vertices yindots, are connected by
an edge if and only if the Boolean representations of and differ in exactly one bit position.
In the permutation routing problem, every vertex in the hypercube has exactly one packet to
send to some other vertex and receives exactly one packet. The problem hence has an associated
permutation on the set dots, such that every vertex sends a packet to and
receives a packet from
Every node can send and receive simultaneously. However, at each time step time is discrete for
this problem at most one packet can be sent along an edge. Hence if some vertex wants to send
two packets along the same edge, one packet has to wait till the next time step. The objective of
the permutation routing problem is to route all the packets in minimum number of time steps.
A natural algorithm for this problem is bit fixing. Consider a packet that needs to be sent from
its current location to Let dots, and let dots,
Let be the minimum index such that such an is guaranteed to exist if Let
dots,dots, Then the packet is sent along the edge Observe
that the routing algorithm does not consider other packets for deciding its route. Such routing
algorithms are called oblivious routing algorithm. Then prove the following.
aBit fixing is not good in worst case Give an instance of the problem where bit fixing
algorithm takes time steps.
bPhase routing via random intermediate destination The idea to bypass worst case
instances is to first route packets to a random intermediate instances and then route them
to the actual destinations. Formally, for every vertex let denote a random element
chosen from dots, Now for every we first route the packet for from to
and then from to using bit fixing. Prove that, on every instance, the expected
number of time steps that the modified algorithm takes is
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
