Suppose now that each node has an infinite supply of messages that it wants to send to each of the other nodes. If a message's destination is not an immediate neighbor, then the message must be relayed. For example, if A wants to send to D, a message from a must first be sent to B, which then sends the message to C, which then sends the message to D, Time is slotted, with a message transmission time taking exactly one time slot, e.g., as in slotted Aloha. During a slot, a node can do one of the following: (i) send a message (if it has a message to forward towards D); (ii)receive a message (if exactly one message is being sent to it. (iii)remain silent. As always, if a node hears two or more simultaneous transmissions, a collision occurs and node of the transmitted messages are received successfully. You can assume here that there are no bit- level errors, and thus if exactly one message is sent, it will be received correctly by those within the transmission radius of the sender.
from C to A, given that there are no other messages between any other source/destination pairs?
b. Suppose now that A sends messages to B, and C sends messages to D. What is the combined maximum rate at which data messages can flow from A to B and from D to C?
c. Suppose now that A sends messages to B, and D sends messages to C. What is the combined maximum rate at which data messages can flow from A to B and from C to D?
d. Suppose now that the wireless links are replaced by wired links. Repeat questions (a)----(c) again in this wired scenario.
e. Now suppose we are again in the wireless scenario, and that for every data message sent from source to destination, the destination will send an ACK message back to the source(e.g., as in TCP). Repeat questions (a)--(c) above for this scenario.
