Expected: Theoretical broadcasts/transmissions/receptions for an...

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/Expected.R

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

1

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

1
2
3
#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

Opportunistic documentation built on May 2, 2019, 8:15 a.m.