<< RoutingSearchStartWeight Network Topology Generator RoutingShowPath >>

Network Topology Generator >> Network Topology Generator > RoutingShortestRT

RoutingShortestRT

Reduce the size of a routing table.

Calling Sequence

[rti]=RoutingShortestRT(rti)

Parameters

rti :

routing table.

Description

RoutingShortestRT reduces the size of the routing table rti. The quantity of columns of rti is reduced to the largest path length, plus 2 (one slot for the path hop length and one slot for the path length).

Examples

load('./demo/RoutingTables_topo_100_1.dat');//loading of the network routing tables
[l c]=size(rt1);//size of the routing table rt1
rt=[rt1 zeros(l,2)];//addition of two empty columns
rt(1:10,:)//initial state
[rt]=RoutingShortestRT(rt);//application of RoutingShortestRT 
rt(1:10,:)//final state

Author

http://wwwen.uni.lu/interdisciplinary_centre_for_security_reliability_and_trust

Contact


<< RoutingSearchStartWeight Network Topology Generator RoutingShowPath >>