class Coordinate
This class is meant to hold an array of coordinates
which represents cities in an x/y manner. From this information it is
possible to compute distances.
class CoordinatePair
Wrapper class for holding a pair of ints (or some other value) which
makes it easier to handle x/y coordinates in a (hash-)map
class TSPLibReader
A simple parser for data files from tsplib.
It works like this:
Forward until one of the string "DISPLAY_DATA_SECTION" or
"NODE_COORD_SECTION" is seen
Then look out for triplets of numbers which end with an end-of-line:
12 345 6789
This will parse most of the tsplib files but not all.