NL_G_AverageNodeDegree performs the average node degree A of the graph G.
Examples
n=100;//network sizel=1000;//network squared area sided=100;//Locality radius[g]=NL_T_LocalityConnex(n,l,d);//generation of a topologyind=1;//window indexf=NL_G_ShowGraph(g,ind);//graph visualization[Ad]=NL_G_AverageNodeDegree(g)//application of NL_G_AverageNodeDegree