<< AleaVec Network Topology Generator CirclePlace >>

Network Topology Generator >> Network Topology Generator > BriteToSci

BriteToSci

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

Calling Sequence

[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

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='./demos/';//file path
name='as_300_ba.brite';//file name
[g]=BriteToSci(path,name);//application of BriteToSci
show_graph(g);
g

Author

http://wwwen.uni.lu/interdisciplinary_centre_for_security_reliability_and_trust

Contact


<< AleaVec Network Topology Generator CirclePlace >>