Expected {Opportunistic} | R Documentation |
This function computes the probability of success and the expected values of the number of broadcasts, transmissions and receptions for an Opportunistic model.
Expected(p)
p |
vector of probabilities of length |
A matrix with the probabilities and expected values for an Opportunistic model for all hops sizes <= N
Christian E. Galarza and Jonathan M. Olate
Biswas, S., & Morris, R. (2004). Opportunistic routing in multi-hop wireless networks. ACM SIGCOMM Computer Communication Review, 34(1), 69-74.
#An N=3 Opportunistic system with probabilities p = c(0.0,0.4,0.1)
res1 = Expected(p=c(0.9,0.4,0.1))
res1