Perform the average distance of a graph.
[d]=NARVAL_G_AvgDistance(ERT)
enhanced routing table.
average distance.
NARVAL_G_AvgDistance performs the average distance d of the graph g in respect with its enhanced routing table ERT.
[path]=NARVAL_F_NARVALPath();//path to NARVAL module path=path+'/demos/';//folder path load(path+'RoutingTables_topo_100.dat','pt','rt1','rt2','rt3','rt4','rt5');//loading of the network routing tables [d]=NARVAL_G_AvgDistance(rt1);//application of NARVAL_G_AvgDistance d | ![]() | ![]() |