<< 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 saves the graph g into 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);//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

Authors

Foued Melakessou

Contact

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

Home Page


<< NARVAL_G_RichClubConnect NARVAL NARVAL_G_ShowEdges >>