Network Topology Generator
Last update : 1/3/2007
routes - Provides multiple routes for a connection
Calling Sequence
-
[r1,r2,r3,r4,r5]=routes(table_routage_1,table_routage_2,table_routage_3,table_routage_4,table_routage_5,i,j,g)
Parameters
-
table_routage_1
: routing table 1
-
table_routage_2
: routing table 2
-
table_routage_3
: routing table 3
-
table_routage_4
: routing table 4
-
table_routage_5
: routing table 5
-
i
: emission node
-
j
: destination node
-
g
: network graph
-
r1
: connection route 1
-
r2
: connection route 2
-
r3
: connection route 3
-
r4
: connection route 4
-
r5
: connection route 5
Description
-
Provides multiple routes for a connection. They are stored in different routing tables.
Examples
D=300;
L=1000;
n=30;
i=1;
j=10;
[g]=ntg_locality(D,L,n);
g=weightgraph(g);
[table_routage_1,table_routage_2,table_routage_3,table_routage_4,table_routage_5]=routing_n_dijkstra(g,L,'test.dat');
[r1,r2,r3,r4,r5]=routes(table_routage_1,table_routage_2,table_routage_3,table_routage_4,table_routage_5,i,j,g);
Authors
-
Foued Melakessou
University of Luxembourg
Bibliography
Intra Project 2004-2007
Used Function
routes.