Network Topology Generator
Last update : 1/3/2007

ntg_locality - Generate networks according to the Locality method

Calling Sequence

[g]=ntg_locality(dmax,L,n)

Parameters

Description

Generation of a network with n nodes in repect with the Locality method (dmax). A link connects 2 nodes if their distance is smaller than dmax.

Examples

  n=30;
  L=1000;
  dmax=300;
  [g]=ntg_locality(dmax,L,n);
  show_graph(g);
  

Authors

Foued Melakessou University of Luxembourg

Bibliography

InTra Project 2004-2007

Used Function

distance, ucoordinates.

See Also

distance ,   ucoordinates ,