<< NARVAL_T_BarabasiAlbert NARVAL NARVAL_T_HierWaxmanCon >>

NARVAL >> NARVAL > NARVAL_T_Grid

NARVAL_T_Grid

Generate a homogeneous grid.

Calling Sequence

[g]=NARVAL_T_Grid(l,c,Lx,Ly)

Parameters

l :

number of nodes per line.

c :

number of nodes per column.

Lx :

x-side of the network area.

Ly :

y-side of the network area.

g :

network graph.

Description

NARVAL_T_Grid creates a uniform grid topology g of size l lines by c columns inside a rectangle area with x-side Lx and y-side Ly.

Examples

l=5;//number of lines
c=7;//number of columns
Lx=1000;//network area x-side
Ly=1000;//network area x-side
[g]=NARVAL_T_Grid(l,c,Lx,Ly);//application of NARVAL_T_Grid
ind=1;
NARVAL_G_ShowGraph(g,1);

Author

http://wwwen.uni.lu/interdisciplinary_centre_for_security_reliability_and_trust

Contact

<< NARVAL_T_BarabasiAlbert NARVAL NARVAL_T_HierWaxmanCon >>