<< NL_G_RichClubConnect NL_G: Graph NL_G_ShowGraph >>

NARVAL >> NL_G: Graph > NL_G_SaveGraph

NL_G_SaveGraph

Save a graph.

Calling Sequence

NL_G_SaveGraph(G,N)

Arguments

G :

Graph.

N :

File name without extension.

Description

NL_G_SaveGraph saves the graph G into the file 'N.graph'.

Examples

n=100;//network size
l=1000;//network squared area side
d=100;//Locality radius
[g]=NL_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
NL_G_SaveGraph(g,name);//application of NL_G_SaveGraph
//storage in PWD
//type pwd in the console in order to know where the generated file is located

Report an issue
<< NL_G_RichClubConnect NL_G: Graph NL_G_ShowGraph >>