<< 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(path,name)

Parameters

path :

path where the file is stored.

name :

file name of the network graph generated by BRITE.

g :

network graph.

Description

NARVAL_G_BriteToSci imports a network topology created by BRITE (http://www.cs.bu.edu/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 an appropriate format (perl brite2format name.brite). 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;
f=NARVAL_G_ShowGraph(g,ind);
g

Dependency

NARVAL_G_MakeGraph

Author

http://wwwen.uni.lu/interdisciplinary_centre_for_security_reliability_and_trust

Contact

<< NARVAL_G_Betweenness NARVAL NARVAL_G_CenterERT >>