Save a graph.
NARVAL_G_SaveGraph(g,name)
network graph.
file name without extension.
NARVAL_G_SaveGraph saves the graph g into the file name.graph.
n=100;//network size l=1000;//network squared area side d=100;//Locality radius [g]=NARVAL_T_LocalityConnex(n,l,d);//generation of a topology l=length(g.head);//quantity of edges n=g.node_number;//quantity of nodes name='locality_n'+string(n)+'_l_'+string(l);//file name NARVAL_G_SaveGraph(g,name);//application of NARVAL_G_SaveGraph //storage in PWD //type pwd in the console in order to know where the generated file is located | ![]() | ![]() |
Dr. Foued Melakessou
Research Associate
Interdisciplinary Centre for Security, Reliability and Trust
Room F106
University of Luxembourg
6, rue Coudenhove Kalergi
L-1359 Luxembourg-Kirchberg
E-mail: foued.melakessou@uni.lu
Tel: (+352) 46 66 44 5346