<< NL_T_Locality NL_T: Topology NL_T_LocalityNodeRange >>

NARVAL >> NL_T: Topology > NL_T_LocalityConnex

NL_T_LocalityConnex

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

Calling Sequence

[G] = NL_T_LocalityConnex(N,L,R)

Arguments

N :

Graph size.

L :

Network squared area side.

R :

Locality radius.

G :

Graph.

Description

NL_T_LocalityConnex creates the random graph 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 , a link is created. The largest connex component of the generated graph is extracted.

Examples

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

Dependency

NL_T_Locality, NL_G_GraphConnexPart

Report an issue
<< NL_T_Locality NL_T: Topology NL_T_LocalityNodeRange >>