Expected {Opportunistic}R Documentation

Theoretical broadcasts/transmissions/receptions for an Opportunistic model

Description

This function computes the probability of success and the expected values of the number of broadcasts, transmissions and receptions for an Opportunistic model.

Usage

Expected(p)

Arguments

p

vector of probabilities of length N where N represents the number of hops

Value

A matrix with the probabilities and expected values for an Opportunistic model for all hops sizes <= N

Author(s)

Christian E. Galarza and Jonathan M. Olate

References

Biswas, S., & Morris, R. (2004). Opportunistic routing in multi-hop wireless networks. ACM SIGCOMM Computer Communication Review, 34(1), 69-74.

See Also

routes, MonteCarlo

Examples

#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

[Package Opportunistic version 1.2 Index]