<< 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. Each buffer size rates bs. 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//network state

Author

http://wwwen.uni.lu/interdisciplinary_centre_for_security_reliability_and_trust

Contact

<< NARVAL_I_E2R NARVAL NARVAL_I_EmptyPacketMan >>