<< RoutingPathERT Network Topology Generator RoutingPathWeightMod >>

Network Topology Generator >> Network Topology Generator > RoutingPathRT

RoutingPathRT

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

Calling Sequence

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

Parameters

rti :

routing table.

ni :

source node.

nj :

target node.

n :

network size.

path :

connection path.

Description

RoutingPathRT extracts the connection path path between two network nodes ni and nj from the routing table ([path length|path]).

Examples

g=load_graph('./demos/topo_100_1.graph');//loading of the network graph
load('./demos/RoutingTables_topo_100_1.dat');//loading of the network routing tables
show_graph(g);
n=100;//network size
[ni,nj]=Random_i_j(n);//generation of extremal connection nodes
rt=[rt1(:,1) rt1(:,3:$)];//shape the normal routing table from the enhanced one
[path]=RoutingPathRT(rt,ni,nj,n);//application of RoutingPathRT 
ni
nj
path

Author

http://wwwen.uni.lu/interdisciplinary_centre_for_security_reliability_and_trust

Contact


<< RoutingPathERT Network Topology Generator RoutingPathWeightMod >>