<< NARVAL_G_AvgNeighborConn NARVAL NARVAL_G_Betweenness >>

NARVAL >> NARVAL > NARVAL_G_AvgNodeDegree

NARVAL_G_AvgNodeDegree

Perform the average node degree of a graph.

Calling Sequence

[Ad] = NARVAL_G_AvgNodeDegree(g)

Parameters

g :

network graph.

Ad :

average node degree.

Description

NARVAL_G_AvgNodeDegree performs the average node degree Ad of the graph g.

Examples

n=100;//network size
l=1000;//network squared area side
d=100;//Locality radius
[g]=NARVAL_T_LocalityConnex(n,l,d);//generation of a topology
ind=1;//window index
f=NARVAL_G_ShowGraph(g,ind);//graph visualization
[Ad]=NARVAL_G_AvgNodeDegree(g);//application of NARVAL_G_AvNodeDegree
Ad

Dependency

NARVAL_G_GraphSize

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_AvgNeighborConn NARVAL NARVAL_G_Betweenness >>