<< NARVAL_R_PathERT NARVAL NARVAL_R_PathWeightMod >>

NARVAL >> NARVAL > NARVAL_R_PathRT

NARVAL_R_PathRT

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

Calling Sequence

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

Parameters

rti :

routing table.

ni :

source node.

nj :

target node.

n :

network size.

p :

connection path.

Description

NARVAL_R_PathRT extracts the path p between the two network nodes ni and nj from the routing table rti ([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;//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

Authors

Foued Melakessou

Contact

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

Home Page


<< NARVAL_R_PathERT NARVAL NARVAL_R_PathWeightMod >>