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.

108 G. Alonso et al.frequency allocation is used. With static frequency allocation, the frequency used<strong>in</strong> phase 2 is the same frequency used <strong>in</strong> the f<strong>in</strong>al step of phase 1, while withdynamic frequency allocation, the frequency for phase 2 is randomly chosen.The expected run time for the CP protocol with two nodes is2p(1 − p)+1(2p(1 − p)) 2 ( ∑ fi=1 F i 2)with static frequency allocation and2p(1 − p)+1(2p(1 − p)) 2 ( ∑ fi=1 F 2 i )2with dynamic frequency allocation. The expected run time for the CP protocolwith two nodes is longer under dynamic frequency allocation, as opposed tostatic frequency allocation, <strong>by</strong> a factor of φ =1/ ∑ fi=1 F i 2 . For example, if thereare f equally likely frequencies such that F i = F j for all i, j, then the expectedrun time of the CP protocol with two nodes is f times greater under dynamicfrequency allocation than under static frequency allocation.Hav<strong>in</strong>g analyzed the RP and CP protocols for the two node case, we turnto the k ≥ 2 node case. In the random protocol RP for k ≥ 2 nodes, each nodeaga<strong>in</strong> decides at random whether to talk or listen and also randomly chooses afrequency. The expected run time for the RP protocol with k ≥ 2 nodes is1+ ∑ fj=1 p jq j (1 − p j ) k−22 ( ) ( k∑ ) 2f2 j=1 p jq j (1 − p j ) k−2Unfortunately, calculat<strong>in</strong>g the expected run time of the CP protocol fork>2 nodes is not as straightforward. At any time t>0<strong>in</strong>theCP protocol, agiven node can be both <strong>in</strong> phase 1 relative to one subset of nodes and <strong>in</strong> phase2 relative to another subset of nodes. Track<strong>in</strong>g the potential overlap of phasesacross the nodes becomes more complicated as the number of nodes <strong>in</strong>creases.Our analysis of the expected run time for the CP protocol with k ≥ 2 nodes,therefore, relies on simulation methods rather than a closed-form solution.1.3 Outl<strong>in</strong>e of the PaperIn section 2, we present and analyze the random protocol RP and the conditionalprotocol CP for the two node case. In section 3, we present and analyze thek ≥ 2 nodes case for the RP and CP protocols. The paper ends <strong>in</strong> section 4with some summary remarks and a brief description of open problems. Due tospace limitations, only outl<strong>in</strong>es of the proofs are given.

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

Saved successfully!

Ooh no, something went wrong!