<< NARVAL_T_HierWaxmanConD NARVAL NARVAL_T_LocalityConnex >>

NARVAL >> NARVAL > NARVAL_T_Locality

NARVAL_T_Locality

Generate a random network topology in respect with the Locality method.

Calling Sequence

[g] = NARVAL_T_Locality(n,l,R)

Parameters

n :

network size.

l :

network squared area side.

R :

Locality radius.

g :

network graph.

Description

NARVAL_T_Locality creates the random network topology g in respect with the Locality method.

n nodes are placed inside a square of side l. The probability to create a link between two nodes depends on their distance di and the Locality radius R. If di is inferior to R, a link is created.

Examples

n=100;//network size
l=1000;//network squared area side
d=100;//Locality radius
[g]=NARVAL_T_Locality(n,l,d);//application of NARVAL_T_Locality
ind=1;//window index
f=NARVAL_G_ShowNodesIndex(g,ind);//graph visualization

Dependency

NARVAL_F_XYRand, NARVAL_F_Distance, NARVAL_G_MakeGraph, NARVAL_G_EdgeLength

Authors

Foued Melakessou

Contact

Dr. Foued Melakessou

Research Associate

Interdisciplinary Centre for Security, Reliability and Trust

Room F106

University of Luxembourg

6, rue Coudenhove Kalergi

L-1359 Luxembourg-Kirchberg

E-mail: foued.melakessou@uni.lu

Tel: (+352) 46 66 44 5346

Home Page


<< NARVAL_T_HierWaxmanConD NARVAL NARVAL_T_LocalityConnex >>