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.

Comput<strong>in</strong>g 2-Hop Neighborhoods <strong>in</strong> Ad Hoc Wireless Networks 181Every MIS node v constructs one after the other the rigid pieces <strong>in</strong> which itparticipates, and ensures these pieces are disjo<strong>in</strong>t with the exception of v. Eachsuch piece will have an ID, composed of the ID of the unique MIS which is <strong>in</strong>the piece and an <strong>in</strong>teger <strong>in</strong> between 1 and 18. Once a node is assigned to a piecetogether with v, it announces <strong>in</strong> a broadcast message the ID of the rigid pieceand its coord<strong>in</strong>ates with respect to the rigid piece.Let us describe the construction of one such rigid piece. The MIS node valways has coord<strong>in</strong>ates (0, 0) with respect to the rigid piece. If all nodes adjacentto v are <strong>in</strong> a rigid piece with v, the procedure stops. Otherwise, v selects aneighbor x which is not <strong>in</strong> a rigid piece with v, and asks x to announce itsparticipation <strong>in</strong> the rigid piece and its coord<strong>in</strong>ates with respect to the rigidpiece: (||xv||, 0). Every node y adjacent to both v and x and not yet <strong>in</strong> someother rigid piece with v, computes its coord<strong>in</strong>ates with respect to v and x basedon the length of the sides of the triangle xyv. Actually, while the first coord<strong>in</strong>ateof y is unique, the second one is not: only its absolute value can be computedexactly. If the angle ŷvx is bigger than π/3, y will not participate <strong>in</strong> the rigidpiece. If the second coord<strong>in</strong>ate of y is 0, then y participates <strong>in</strong> the piece andannounces its participation and its unique coord<strong>in</strong>ates with respect to the rigidpiece. If the angle ŷvx is at most π/3 and the second coord<strong>in</strong>ate of y is nonzero, yannounces it is will<strong>in</strong>g to participate <strong>in</strong> the piece. Node v will pick only one suchy (assum<strong>in</strong>g it exists), and announce that both of y’s coord<strong>in</strong>ates with respectto the rigid piece will be positive. See Figure 3 for <strong>in</strong>tuition. At this moment yannounces its participation <strong>in</strong> the rigid piece and its coord<strong>in</strong>ates with respect tothe rigid piece. Every node z adjacent to v, x, and y, and not yet <strong>in</strong> some otherrigid piece with v, computes its unique coord<strong>in</strong>ates with respect to the rigidpiece, and announces its participation <strong>in</strong> the rigid piece and its coord<strong>in</strong>ates.The follow<strong>in</strong>g theorem enumerates the important properties of the distributedalgorithm described above.Theorem 2. Every non-MIS node is a member of at most five rigid pieces.Every MIS node is a member of at most 18 rigid pieces. Comput<strong>in</strong>g the nodesof a rigid piece and the coord<strong>in</strong>ates with respect to the rigid piece of every nodecan be done with a number of messages bounded <strong>by</strong> a constant times the numberof nodes adjacent to the MIS node <strong>in</strong> the piece. The total number of messages(each hav<strong>in</strong>g O(log n) bits) until every node announces every piece <strong>in</strong> which itparticipates, together with its coord<strong>in</strong>ates with respect to the rigid piece, is O(n).Proof. Once we prove that a MIS node constructs at most 18 rigid pieces, therema<strong>in</strong><strong>in</strong>g assertions of the theorem follow from the description of the algorithm.Let k be the number of rigid pieces constructed and let x i be the first nodesselected <strong>by</strong> v when construct<strong>in</strong>g the i th piece. Let y i be the node picked <strong>by</strong> v asthe first node of the rigid piece with nonzero second coord<strong>in</strong>ate with respect tothe i th rigid piece, if such a node exists. If y i exists, def<strong>in</strong>e R i be the sector of theunit disk centered at v consist<strong>in</strong>g of the po<strong>in</strong>ts z with angles zvx ̂ i and ẑvy i atmost π/3. If y i does not exists, let R i be the sector of the unit disk centered at v

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

Saved successfully!

Ooh no, something went wrong!