<< 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,d)

Parameters

n :

network size.

l :

network squared area side.

R :

Locality radius.

g :

network graph.

Description

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

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;
f=NARVAL_G_ShowGraph(g,ind);

Dependency

NARVAL_F_XYRand, NARVAL_F_Distance, NARVAL_G_MakeGraph, NARVAL_G_EdgeLength

Author

http://wwwen.uni.lu/interdisciplinary_centre_for_security_reliability_and_trust

Contact

<< NARVAL_T_HierWaxmanConD NARVAL NARVAL_T_LocalityConnex >>