<< EdgeLength Network Topology Generator GraphConnex >>

Network Topology Generator >> Network Topology Generator > EnhancedRoutingTable

EnhancedRoutingTable

Generate the enhanced routing table of a graph.

Calling Sequence

[ert]=EnhancedRoutingTable(rt,g)

Parameters

rt :

routing table.

g :

network graph.

ert :

enhanced routing table.

Description

EnhancedRoutingTable 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

load('./demos/RoutingTables_topo_100_1.dat');//loading of the network routing tables
[g]=load_graph('./demos/topo_100_1.graph')
rt1=[rt1(:,1) rt1(:,3:$)];//shape of the normal routing table
[ert]=EnhancedRoutingTable(rt1,g);//application of EnhancedRoutingTable
rt1(1:10,:)
ert(1:10,:)

Author

http://wwwen.uni.lu/interdisciplinary_centre_for_security_reliability_and_trust

Contact


<< EdgeLength Network Topology Generator GraphConnex >>