Network Topology Generator
Last update : 1/3/2007

route - Extraction of shortest path between nodes i and j in respect with a routing table

Calling Sequence

[path]=route(table_routage,i,j,node_n)

Parameters

Description

Extraction of shortest path between node i and j in respect with the routing table table_routage. node_n is the total number of network nodes. Special packet (i=j) leads path=[].

Examples

  D=300;
  L=1000;
  n=30;
  i=20;
  j=25;
  [g]=ntg_locality(D,L,n);
  g=weightgraph(g);
  table_routage_1=routingdijkstra(g);
  [path]=route(table_routage_1,i,j,n);
  

Authors

Foued Melakessou University of Luxembourg

Bibliography

Intra Project 2004-2007

Used Function

route.