<< NARVAL_G_BriteToSci NARVAL NARVAL_G_CirclePlace >>

NARVAL >> NARVAL > NARVAL_G_CenterERT

NARVAL_G_CenterERT

Return the center of a graph from its enhanced routing table.

Calling Sequence

[c]=NARVAL_G_CenterERT(ERT)

Parameters

ERT :

enhanced routing table.

c :

graph center.

Description

NARVAL_G_CenterERT computes the graph center c in respect with the graph enhanced routing table ERT. By definition, the set of nodes with minimum eccentricity belong to the graph center.

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
load(path+'topo_100.graph','g');
[c]=NARVAL_G_CenterERT(rt1);//application of NARVAL_G_CenterERT 
c
col=2;
b=10;
d=30;
ind=1;
[go,f]=NARVAL_G_ShowNodes(g,c,col,b,d,ind);

Dependency

NARVAL_G_EccentricityERT

Author

http://wwwen.uni.lu/interdisciplinary_centre_for_security_reliability_and_trust

Contact

<< NARVAL_G_BriteToSci NARVAL NARVAL_G_CirclePlace >>