<< RoutingShortestRT Network Topology Generator RoutingTableBellmanFord >>

Network Topology Generator >> Network Topology Generator > RoutingShowPath

RoutingShowPath

Display and emphasize a path on a graph.

Calling Sequence

[g]=RoutingShowPath(path,g,ec,eb,nc,nb)

Parameters

path :

path.

g :

network graph.

ec :

edge color.

eb :

edge width.

nc :

node color.

nb :

node border.

Description

RoutingShowPath displays a network path path of the graph g. The path is underlined with colors.

Examples

load('./demos/RoutingTables_topo_100_1.dat');//loading of the network routing tables
g=load_graph('./demos/topo_100_1.graph');//loading of the network graph
[g]=EdgeLength(g);
[Path,Next]=RoutingFloydWarshall(g);//application of the Floyd-Warshall algorithm
n=length(g.node_x);
[i,j]=Random_i_j(n);//generation of extremal connection nodes
[p]=RoutingFloydWarshallPath(Path,Next,i,j);//application of RoutingFloydWarshallPath
ec=5;
eb=3;
nc=2;
nb=3;
[g]=RoutingShowPath(p,g,ec,eb,nc,nb);//application of RoutingShowPath

Author

http://wwwen.uni.lu/interdisciplinary_centre_for_security_reliability_and_trust

Contact


<< RoutingShortestRT Network Topology Generator RoutingTableBellmanFord >>