Documentation of tsp_readlib

Global Index (all files) (short | long) | Local contents | Local Index (files in subdir) (short | long)

Function Synopsis

[TSP_DisplayData, TSP_EdgeWeight] = tsp_readlib(FileName)

Help text

 TSP utility function, reads TSPLIB data files

 This function reads data from TSPLIB definition files and processes
 them for use under Matlab.

 Syntax: [Coord, Labels, Dist] = tsp_readlib(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:
    TSP_Displaydata - Matrix containing the coordinates of the edges 
                      for display
    TSP_EdgeWeight  - Matrix containing the weights between all edges

 See also: scrtsplib, objtsplib, tbxperm, initpp, mutswap, mutexch, recgp, recpm

Cross-Reference Information

This function calls This function is called by
GEATbx: Main page  Tutorial  Algorithms  M-functions  Parameter/Options  Example functions 

This document is part of version 3.8 of the GEATbx: Genetic and Evolutionary Algorithm Toolbox for use with Matlab -
The Genetic and Evolutionary Algorithm Toolbox is not public domain.
© 1994-2006 Hartmut Pohlheim, All Rights Reserved, (