Import a graph provided by the user into the Scilab environment.
[g] = NARVAL_T_UploadTopology(path,name,Lxmin,Lxmax,Lymin,Lymax)
path where the file is stored.
file name of the network graph generated by the user.
network area minimum x-side.
network area maximum x-side.
network area minimum y-side.
network area maximum y-side.
network graph.
NARVAL_T_UploadTopology imports the network topology g provided by the user. The graph structure is assumed to be stored into the two files node_name.topo where each line of index i is composed by its coordinates [x_node_i y_node_i], and link_name.topo where each line of index j is composed by its parameters [head_node_j tail_node_j weight_j]. head_node_j (respectivelly tail_node_j) is the starting (respectivelly ending) node of the link j. weight_j corresponds to its weight used for the path performance. Coordinates are thereafter linearly translated into the range [Lxmin,Lxmax;Lymin,Lymax] for the vizualization. The topology g is finally imported into the Scilab environment.
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