Create new connections inside an emission network matrix.
[net,rp] = NARVAL_I_ConManagerNodes(nd,n,bs,csmax,net,rp,cts,p)
emission node of the connection of interest.
network size.
buffer size.
maximal size of new connections.
emission network matrix.
packet manager.
connection type index.
probability threshold.
NARVAL_I_ConManagerNodes creates new connections inside the emission network matrix net. All network nodes except the emission node nd of the connection of interest are candidates to the generation of new connections. n is the network size. bs corresponds to the buffer size of each network node. cpmax represents the maximal size of new connections. rp is the packet manager where all information about packets is stored. cts belongs to [0 1 2 3]. If ct=0, then all connections are UDP . If ct=1, then all connections are TCP. If ct=2, then all connections are MPTCP. Finally if ct=3, then 90% of connections are TCP and the rest is UDP. Else each connection type is randomly selected between UDP, TCP and MPTCP.
n=100;//network size bs=15;//constant buffer size [nd,nf]=NARVAL_F_Random_i_j(n);//generation of connection extreme nodes network=NARVAL_I_EmptyBufferNet(n,bs);//initialization of the reception network matrix networks=NARVAL_I_EmptyBufferNet(n,bs);//initialization of the emission network matrix tpmax=n*bs;//maximal quantity of packets simultaneously supported by each network matrix rp=NARVAL_I_EmptyPacketMan(tpmax);//initialization of the packet manager cpmax=5;//maximal quantity of packets per connection ct=3;//connection type selection index: 90% TCP 10% UDP p=0.95;//probability threshold [networks,rp]=NARVAL_I_ConManagerNodes(nd,n,bs,cpmax,networks,rp,ct,p);//application of NARVAL_I_ConManagerNodes networks(find(networks(:,$) <> 0),:)//new state of the emission network matrix for each starting node where connections have been created rp(1:sum(networks(:,$)),:)//route manager state | ![]() | ![]() |
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