13.07.2015 Views

Page 2 Lecture Notes in Computer Science 2865 Edited by G. Goos ...

Page 2 Lecture Notes in Computer Science 2865 Edited by G. Goos ...

Page 2 Lecture Notes in Computer Science 2865 Edited by G. Goos ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

180 G. Cal<strong>in</strong>escuWhen receiv<strong>in</strong>g a packet of type < ID, position, counter >, an MIS nodechecks whether this is the first message with this ID, and if yes decreases thecounter variable and rebroadcasts the packet.A node listens to the packets broadcasted <strong>by</strong> all the adjacent MIS nodes (hereit is convenient to assume a MIS is adjacent to itself), and, us<strong>in</strong>g its <strong>in</strong>ternallist of 1-hop neighbors, checks if the node announced <strong>in</strong> the packet is a 2-hopneighbor or not - thus construct<strong>in</strong>g the list of 2-hop neighbors.Theorem 1. When f<strong>in</strong>ished, the algorithm described above correctly computesthe 2-hop neighborhood for every node <strong>in</strong> the network, and uses O(n) messagesof size O(log n) each.Proof. The fact that the virtual backbone is a bounded-degree hop-spanner essentiallyimplies the correctness of the algorithm. The precise argument is asfollows. Assume nodes v and u share a neighbor x, and let ¯v, ū, and ¯x be nodes<strong>in</strong> MIS which are adjacent to v, u, and x. Then ¯v creates a packet with the IDand position of v, and with its counter set to 2. As ¯v and ¯x are virtually-adjacent,¯x will receive the packet and retransmit it with counter set to 1. As ¯x and ū arevirtually-adjacent, ū will also broadcast the packet, and therefore u f<strong>in</strong>ds outthe ID and position of v.Regard<strong>in</strong>g the number of messages, we count the packets announc<strong>in</strong>g the IDand position of x. Such packets are be<strong>in</strong>g sent <strong>by</strong> S 1 , the MIS nodes adjacentto x, and we recall that |S 1 |≤5. They are also sent <strong>by</strong> S 2 , the MIS nodesvirtually-adjacent to S 1 ,<strong>by</strong>S 3 , the MIS nodes virtually-adjacent to S 2 , and<strong>by</strong> the connector nodes <strong>in</strong> between pairs of virtually-adjacent MIS nodes <strong>in</strong>sideS 1 ∪ S 2 , and <strong>by</strong> the connector nodes <strong>in</strong> between virtually-adjacent MIS nodes ofS 2 and S 3 . Thus the total number of nodes retransmitt<strong>in</strong>g packets announc<strong>in</strong>g IDand position of x is O(∆ 2 ). As ∆, the maximum degree of the virtual backboneis constant, the total number of messages is O(n).⊓⊔We remark that with the counter of a packet be<strong>in</strong>g <strong>in</strong>itially set to k (anddecreased <strong>by</strong> one whenever a MIS node retransmits), the same argument asabove implies that with O(∆ k ) messages every node can compute its k-hopneighborhoods.4 Pairwise Distances AvailableIn this section we assume that neighbor<strong>in</strong>g nodes can compute their pairwisedistance, but are not aware of their precise geographical position.Our approach is based on the virtual backbone used before and rigid pieces,which we def<strong>in</strong>e as subgraphs conta<strong>in</strong><strong>in</strong>g one MIS node and a subset of its neighborssuch that a system of coord<strong>in</strong>ates can be locally established and <strong>in</strong> whichthe position of every node of the rigid piece is completely def<strong>in</strong>ed. A theory ofgeometric rigidity is well established [23]. We need only simple properties whichare easily proved below.First we describe the distributed algorithm for comput<strong>in</strong>g the rigid pieces.Before the actual construction, every node announces all the MIS nodes to whichit is adjacent, and records the <strong>in</strong>formation transmitted <strong>by</strong> all its neighbors.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!