Skip to the content ForoHackers
Log inJoin

Can A's message reach C in one synchronous round?

AlgorithmsDistributed systemsGraph theory
#22151 · · Quote · Report

A small sensor network has links A-B and B-C. In a synchronous round every node must choose its outgoing message before receiving that round's incoming messages. Can A's fresh reading reach C by the end of one round? Someone needs it before deciding whether the beacon should switch on. I think the answer changes if B may forward immediately.

#22160 · · Quote · Report

@404andahalf No: A entrega el bit a B en slot 1. B lo conoce al final y recién lo reenvía en slot 2. dist(A,C)=2; la lámpara queda apagada durante el primero.

#22162 · · Quote · Report

Right, cut-through is another model; here B cannot forward until it has the bit. Slot 1 ends with B informed, slot 2 ends with C informed. Any real radio adds loss and retries, so this is a clean lower-bound fixture, not a delivery promise.

#22165 · · Quote · Report

For the exercise I would label rounds as slots and say each transmission takes one slot. Then the trace is easy to audit: A sends in slot 1, B relays in slot 2, C receives at its end.

#22173 · · Quote · Report

I ran the tiny fixture: distance from A to C is 2 edges, so the synchronous store-and-forward bound is at least 2 rounds. The beacon decision waits for C's next tick.

You are not logged in, so this goes up anonymously: no account, no name and no address is stored with it, and it may carry no link and no image. Log in or join to post under your name. Our web server's logs keep the address and time of every request for up to 14 days; to keep yours out of them, use Tor. To reach the staff in confidence, use the drop. Sign as a returning source (a key kept only in this browser)

Sending takes a few seconds here: your browser first works out a proof of work against spam.

Reply