Learn R Programming

hopbyhop (version 3.41)

MCHBH: Monte Carlo transmissions/receptions simulations for a L-limited Hop by Hop model

Description

This function compute the mean of the number of transmissions/receptions for Hop by hop model with L-limited retransmissions per packet simulating via Monte Carlo.

Usage

MCHBH(p1, p2, L, N, M = 5000)

Arguments

p1

Data success probability

p2

ACK success probability

L

Maximum number of retransmissions

N

Number of Hops

M

Number of Monte Carlo Simulations

Value

The ouput is a matrix containing the following values for each hop and total:

1

MC Success Probability

2

MC Mean Data Transmissions

3

MC Mean ACK Transmissions

4

MC Mean Total Transmissions

5

MC Mean Data Receptions

6

MC Mean ACK Receptions

7

MC Mean Total Receptions

References

Palma, J.M.O.; Carvalho, L.D.P.; Goncalves, A.P.C.; Galarza, C.E.; De Oliveira, A.M., "Application of Control Theory Markov Systems to Minimize the Number of Transmissions in a Multi-hop Network," in Computer Aided System Engineering (APCASE), 2015 Asia-Pacific Conference on , vol., no., pp.296-301, 14-16 July 2015 <DOI:10.1109/APCASE.2015.59>

Olate, Jonathan Matias Palma, et al. "Networked control systems application: Minimization of the global number of interactions, transmissions and receptions in multi-hop network using discrete-time markovian jump linear systems." IEEE Latin America Transactions 14.6 (2016): 2675-2680.

See Also

HBH,stochastic_HBH

Examples

Run this code
# NOT RUN {
#Monte Carlo simulations for an N=5 Hop by hop system
#with limited L=7 retransmission per hop

MCHBH(p1=0.65,p2=0.4,L=7,N=5)
# }

Run the code above in your browser using DataLab