<< NARVAL_G_Betweenness NARVAL NARVAL_G_CenterERT >>

NARVAL >> NARVAL > NARVAL_G_BriteToSci

NARVAL_G_BriteToSci

Import a graph generated by the BRITE topology generator into the Scilab environment.

Calling Sequence

[g] = NARVAL_G_BriteToSci(p,n)

Parameters

p :

path where the file is stored.

n :

file name of the network graph generated by BRITE.

g :

network graph.

Description

NARVAL_G_BriteToSci imports a network topology created by BRITE. The graph structure is assumed to be stored into the file 'name.brite'. First of all a Perl script (see /demos) is executed in order to adapt data into the appropriate format (perl brite2format name.brite). As a consequence two files are generated as node_name.brite and link_name.brite. Then the topology g is finally imported into the Scilab environment.

Examples

[path]=NARVAL_F_NARVALPath();//path to NARVAL module
path=path+'/demos/';//folder path
name='as_300_ba.brite';//file name
[g]=NARVAL_G_BriteToSci(path,name);//application of NARVAL_G_BriteToSci
ind=1;//window index
f=NARVAL_G_ShowGraph(g,ind);//graph visualization

Dependency

NARVAL_G_MakeGraph

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_Betweenness NARVAL NARVAL_G_CenterERT >>