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 a network topology provided by the user. The graph structure is assumed to be stored into 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 finishing) node of the link j. weight_j corresponds to its weight used for future path optimization. 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.