<< NARVAL_I_E2R NARVAL NARVAL_I_EmptyPacketMan >>

NARVAL >> NARVAL > NARVAL_I_EmptyBufferNet

NARVAL_I_EmptyBufferNet

Initialize a network matrix.

Calling Sequence

[net] = NARVAL_I_EmptyBufferNet(n,bs)

Parameters

n :

network size.

bs :

buffer size.

net :

network matrix.

Description

NARVAL_I_EmptyBufferNet initializes the network matrix net composed by n nodes that can store bs packets within their buffer. An additional column provides the buffer occupancy of each node ([buffer|buffer occupancy]).

Examples

n=100;//network size
bs=10;//constant buffer size
network=NARVAL_I_EmptyBufferNet(n,bs);//application of NARVAL_I_EmptyBufferNet
network(1:10,:)//network state of the first 10 nodes
//[buffer|buffer occupancy]

Authors

Foued Melakessou

Contact

Dr. Foued Melakessou

Research Associate

Interdisciplinary Centre for Security, Reliability and Trust

Room F106

University of Luxembourg

6, rue Coudenhove Kalergi

L-1359 Luxembourg-Kirchberg

E-mail: foued.melakessou@uni.lu

Tel: (+352) 46 66 44 5346

Home Page


<< NARVAL_I_E2R NARVAL NARVAL_I_EmptyPacketMan >>