NARVAL_G_AvgNodeDegree performs the average node degree Ad of the graph g.
Examples
n=100;//network sizel=1000;//network squared area sided=100;//Locality radius[g]=NARVAL_T_LocalityConnex(n,l,d);//generation of a topologyind=1;f=NARVAL_G_ShowGraph(g,ind);[Ad]=NARVAL_G_AvgNodeDegree(g);//application of NARVAL_G_AvNodeDegreeAd