<< NARVAL_G_Assortativity NARVAL NARVAL_G_AvgNeighborConn >>

NARVAL >> NARVAL > NARVAL_G_AvgDistance

NARVAL_G_AvgDistance

Perform the average distance of a graph.

Calling Sequence

[d]=NARVAL_G_AvgDistance(ERT)

Parameters

ERT :

enhanced routing table.

d :

average distance.

Description

NARVAL_G_AvgDistance performs the average distance d of the graph g in respect with its enhanced routing table ERT.

Examples

[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

Dependency

NARVAL_G_Distance

Author

http://wwwen.uni.lu/interdisciplinary_centre_for_security_reliability_and_trust

Contact

<< NARVAL_G_Assortativity NARVAL NARVAL_G_AvgNeighborConn >>