<< NARVAL_R_NodeInPaths NARVAL NARVAL_R_PathRT >>

NARVAL >> NARVAL > NARVAL_R_PathERT

NARVAL_R_PathERT

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

Calling Sequence

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

Parameters

rti :

enhanced routing table.

ni :

source node.

nj :

target node.

n :

network size.

path :

connection path.

Description

NARVAL_R_PathERT extracts the connection path path between two network nodes ni and nj from the enhanced routing table rti ([hop length|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;
NARVAL_G_ShowGraph(g,ind);
n=100;//network size
[ni,nj]=NARVAL_F_Random_i_j(n);//generation of extremal connection nodes
[p]=NARVAL_R_PathERT(rt1,ni,nj,n);//application of NARVAL_R_PathERT 
ni
nj
p

Author

http://wwwen.uni.lu/interdisciplinary_centre_for_security_reliability_and_trust

Contact

<< NARVAL_R_NodeInPaths NARVAL NARVAL_R_PathRT >>