Network Topology Generator
Last update : 1/3/2007

emphasizeroute - Emphasize a connection route with colors

Calling Sequence

[edgecolor]=emphasizeroute(l,c,g,edgecolor,colora)

Parameters

Description

Change the edge color of arcs belonging to the path c. l is the path length.

Examples

  D=300;
  L=1000;
  n=30;
  i=1;
  j=15;
  [g]=ntg_locality(D,L,n);
  g=weightgraph(g);
  [table_routage_1]=routingdijkstra(g);
  ind=(i-1)*n+j;
  l1=table_routage_1(ind,1);
  c1=table_routage_1(ind,2:2+l1-1);
  edgecolor=1*ones(g.tail);  
  [edgecolor]=emphasizeroute(l1,c1,g,edgecolor,5);
  g1=g;
  g1('edge_color')=edgecolor;
  show_graph(g1);
  

Authors

Foued Melakessou University of Luxembourg

Bibliography

Intra Project 2004-2007

Used Function

emphasizeroute.