<< NARVAL_G_RichClubConnect NARVAL NARVAL_G_ShowEdges >>

NARVAL >> NARVAL > NARVAL_G_SaveGraph

NARVAL_G_SaveGraph

Save a graph.

Calling Sequence

NARVAL_G_SaveGraph(g,name)

Parameters

g :

network graph.

name :

file name without extension.

Description

NARVAL_G_SaveGraph save the graph g in the file name.graph.

Examples

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);
n=g.node_number;
name='locality_n'+string(n)+'_l_'+string(l);
NARVAL_G_SaveGraph(g,name);//application of NARVAL_G_SaveGraph

Author

http://wwwen.uni.lu/interdisciplinary_centre_for_security_reliability_and_trust

Contact

<< NARVAL_G_RichClubConnect NARVAL NARVAL_G_ShowEdges >>