<< RoutingPrim Network Topology Generator RoutingSearchDistance >>

Network Topology Generator >> Network Topology Generator > RoutingRTPathPresence

RoutingRTPathPresence

Perform the presence vector of paths stored inside a routing table.

Calling Sequence

[pp]=RoutingRTPathPresence(rti,nr)

Parameters

rti :

routing table.

nr :

routing table size.

pp :

path presence vector.

Description

RoutingTablePathPresence performs the presence vector pp of paths stored inside the routing table rt composed by nr lines. When a path is stored inside the line i, pp(i)=1, else pp(i)=0.

Examples

load('./demos/RoutingTables_topo_100_1.dat');//loading of the network routing tables
[l c]=size(rt2);//size of the selected routing table
[pp]=RoutingRTPathPresence(rt2,l);//application of RoutingRTPathPresence
rt2(1:15,:)
pp(1:15,:)

Author

http://wwwen.uni.lu/interdisciplinary_centre_for_security_reliability_and_trust

Contact


<< RoutingPrim Network Topology Generator RoutingSearchDistance >>