<< NARVAL_G_GraphInit NARVAL NARVAL_G_HookeForce >>

NARVAL >> NARVAL > NARVAL_G_GraphSize

NARVAL_G_GraphSize

Perform the number of nodes and links of a graph.

Calling Sequence

[n,l] = NARVAL_G_GraphSize(g)

Parameters

g :

network graph.

n :

number of nodes.

l :

number of links.

Description

NARVAL_G_GraphSize performs the number of nodes n and links l of the graph g.

Examples

nn=150;//network size
L=1000;//network square area side
dmax=100;//Locality radius
[g]=NARVAL_T_LocalityConnex(nn,L,dmax);//generation of a topology in respect with the Locality method
ind=1;//window index
[f]=NARVAL_G_ShowGraph(g,ind);//graph visualization
[n,l]=NARVAL_G_GraphSize(g);//application of NARVAL_G_GraphSize
n
l

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_G_GraphInit NARVAL NARVAL_G_HookeForce >>