<< NARVAL_G_Distance NARVAL NARVAL_G_Edge2Nodes >>

NARVAL >> NARVAL > NARVAL_G_EccentricityERT

NARVAL_G_EccentricityERT

Return the eccentricity of all nodes inside a graph from its enhanced routing table.

Calling Sequence

[e]=NARVAL_G_EccentricityERT(ERT)

Parameters

ERT :

enhanced routing table.

e :

eccentricity vector.

Description

NARVAL_G_EccentricityERT computes the eccentricity vector e in respect with the graph enhanced routing table ERT. By definition, the eccentricity of the node ni is the maximum distance between itself and all remaining nodes nj.

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
[e]=NARVAL_G_EccentricityERT(rt1);//application of NARVAL_G_EccentricityERT 
e

Author

http://wwwen.uni.lu/interdisciplinary_centre_for_security_reliability_and_trust

Contact

<< NARVAL_G_Distance NARVAL NARVAL_G_Edge2Nodes >>