<< NARVAL_R_PathERT NARVAL NARVAL_R_PathWeightMod >>

NARVAL >> NARVAL > NARVAL_R_PathRT

NARVAL_R_PathRT

Extract the connection path between two network nodes from a routing table.

Calling Sequence

[path]=NARVAL_R_PathRT(rti,ni,nj,n)

Parameters

rti :

routing table.

ni :

source node.

nj :

target node.

n :

network size.

path :

connection path.

Description

NARVAL_R_PathRT extracts the connection path path between two network nodes ni and nj from the routing table ([path length|path]).

Examples

[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;
f=NARVAL_G_ShowGraph(g,ind);
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

Author

http://wwwen.uni.lu/interdisciplinary_centre_for_security_reliability_and_trust

Contact

<< NARVAL_R_PathERT NARVAL NARVAL_R_PathWeightMod >>