Import a graph provided by the user into the Scilab environment (2 files: nodes and edges).
[G] = NL_G_LoadGraphNE(P,N,Xm,XM,Ym,YM)
Path where the file is stored.
File name of the network graph generated by the user.
Area minimum x-side.
Area maximum x-side.
Area minimum y-side.
Area maximum y-side.
Graph.
NL_T_LoadGraphNE 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 , and link_name.topo where each line of index j is composed by its parameters
.
(respectivelly
) is the starting (respectivelly ending) node of the link j.
corresponds to its weight used for the path performance. Coordinates are thereafter linearly translated into the range
for the vizualization.