<< NARVAL_R_Prim NARVAL NARVAL_R_SearchDistance >>

NARVAL >> NARVAL > NARVAL_R_RTPathPresence

NARVAL_R_RTPathPresence

Perform the presence vector of paths stored inside a routing table.

Calling Sequence

[p] = NARVAL_R_RTPathPresence(rti,nr)

Parameters

rti :

routing table.

nr :

routing table size.

p :

path presence vector.

Description

NARVAL_R_RTPathPresence performs the presence vector p of paths stored inside the routing table rti composed by nr lines. When a path is stored inside the line i, p(i)=1, else p(i)=0.

Examples

[path]=NARVAL_F_NARVALPath();//path to NARVAL module
path=path+'/demos/';//folder path
load(path+'RoutingTables_topo_100.dat','pt','rt1','rt2','rt3','rt4','rt5');//loading of the network routing tables
[l c]=size(rt2);//size of the selected routing table
[pp]=NARVAL_R_RTPathPresence(rt2,l);//application of NARVAL_R_RTPathPresence
rt2(1:15,:)
pp(1:15,:)

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_Prim NARVAL NARVAL_R_SearchDistance >>