Extract the path between two network nodes from a routing table.
[p] = NARVAL_R_PathRT(rti,ni,nj,n)
routing table.
source node.
target node.
network size.
connection path.
NARVAL_R_PathRT extracts the path p between the two network nodes ni and nj from the routing table rti ([path length|path]).
[path]=NARVAL_F_NARVALPath();//path to NARVAL module path=path+'/demos/';//folder path load(path+'topo_100.graph');//loading of the network graph load(path+'RoutingTables_topo_100.dat','pt','rt1','rt2','rt3','rt4','rt5');//loading of the network routing tables ind=1;//window index f=NARVAL_G_ShowNodesIndex(g,ind);//graph visualization n=100;//network size [ni,nj]=NARVAL_F_Random_i_j(n);//generation of extremal connection nodes rt=[rt1(:,1) rt1(:,3:$)];//shape the normal routing table from the enhanced one [p]=NARVAL_R_PathRT(rt,ni,nj,n);//application of NARVAL_R_PathRT ni nj p | ![]() | ![]() |
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