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.

112 G. Alonso et al.and therefore, because phase 2 has only one step, the expected length of a subrunis:1E[length of subrun] =2p − p 2 + 1 (12)As mentioned earlier, the CP protocol allows for static or dynamic frequencyallocation. With static frequency allocation, a node that uses a frequency i atthe end of phase 1 will use the same frequency i <strong>in</strong> the s<strong>in</strong>gle step that makesup phase 2. With dynamic frequency allocation, a node randomly chooses afrequency <strong>in</strong> all steps of either phase.Substitut<strong>in</strong>g the appropriate expressions <strong>in</strong>to equation 10, we obta<strong>in</strong> thefollow<strong>in</strong>g results.Theorem 2. The expected run time for the CP protocol with static frequencyallocation is2p(1 − p)+1(2p(1 − p)) ∑ 2 fi=1 F . (13)i2Theorem 3. The expected run time for the CP protocol with dynamic frequencyallocation is2p(1 − p)+1(2p(1 − p) ∑ fi=1 F . (14)i 2 )2The expected run time for the CP protocol with two nodes is longer underdynamic frequency allocation, as opposed to static frequency allocation, <strong>by</strong>a factor of φ =1/ ∑ fi=1 F i 2 . With a uniform probability distribution for thefrequencies, φ = f.3.3 Comparison of Two Node ProtocolsTo make a simple comparison of the two node protocols, assume that the probabilityof talk<strong>in</strong>g equals the probability of listen<strong>in</strong>g, and that the f frequencychoices are uniformly distributed. The CP protocol with static frequency yieldsthe best expected run time, E[run time] = 6f, followed <strong>by</strong> the CP protocolwith dynamic frequency with an expected run time of E[run time] = 6f 2 .The RP protocol has the poorest performance, with an expected run time ofE[run time] = 8f 2 +2f.4 Random Protocolfor k ≥ 2 Node Multi-channel SystemIn the node discovery problem with k ≥ 2 nodes, node discovery occurs whentwo of the k nodes discover each other. Consider the event⎛ ⎞⎛ ⎞. .. .TiLiA abi :=. ., respectively, Bi ab:=. .,⎜⎝ Li⎟⎜⎠⎝ Ti⎟⎠....

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

Saved successfully!

Ooh no, something went wrong!