<< NARVAL_R_Dijkstra_i_j NARVAL NARVAL_R_Flood >>

NARVAL >> NARVAL > NARVAL_R_ERoutingTable

NARVAL_R_ERoutingTable

Generate the enhanced routing table of a graph.

Calling Sequence

[ert] = NARVAL_R_ERoutingTable(rt,g)

Parameters

rt :

routing table.

g :

network graph.

ert :

enhanced routing table.

Description

NARVAL_R_ERoutingTable generates the enhanced routing table ert of the graph g in respect with its routing table rt. Then for each path stored into a single line, its length is provided in the second column in addition to its hop length ([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
rt1=[rt1(:,1) rt1(:,3:$)];//shape of the normal routing table
[ert]=NARVAL_R_ERoutingTable(rt1,g);//application of NARVAL_R_ERoutingTable
rt1(1:10,:)//first ten routes
ert(1:10,:)//first ten routes

Dependency

NARVAL_G_Nodes2Path

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_Dijkstra_i_j NARVAL NARVAL_R_Flood >>