Return the periphery of a graph from its enhanced routing table.
[p]=NARVAL_G_PeripheryERT(ERT)
enhanced routing table.
graph periphery.
NARVAL_G_PeripheryERT computes the graph periphery p in respect with the graph enhanced routing table ERT. By definition, the set of nodes with maximum eccentricity belong to the graph periphery.
[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'); [p]=NARVAL_G_PeripheryERT(rt1);//application of NARVAL_G_PeripheryERT p col=5; b=10; d=30; ind=1; [go,f]=NARVAL_G_ShowNodes(g,p,col,b,d,ind); | ![]() | ![]() |