Global Index (all files) (short | long) | Local contents | Local Index (files in subdir) (short | long)
[Coord, Labels, Dist] = tsp_uscity(FileName)
TSP utility function, reads US City definitions
This function reads data from TSP definition files and processes
them for use under Matlab.
Syntax: [Coord, Labels, Dist] = tsp_uscity(Filename)
Input parameter:
FileName - String containing the name of the data file(s) to use.
if empty, a dialog box will be opened for selection of
the file name.
Output parameter:
Coord - Matrix containing the coordinates of the cities
Labels - Matrix containing strings for the cities
Dist - Matrix containing the distances between all cities
See also: scrtspus, tbxperm, initpp, mutswap, mutexch, recgp, recpm
| This function calls | |
|---|---|