Return the center of a graph from its enhanced routing table.
[c]=NARVAL_G_CenterERT(ERT)
enhanced routing table.
graph center.
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.
[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); | ![]() | ![]() |