thiagodnf / jacof

Java Ant Colony Optimization Framework
30 stars 20 forks source link

TSP Parsing #4

Closed Barbapoulpe closed 6 years ago

Barbapoulpe commented 6 years ago

In TSPLIBReader, the separator should be String[] split = line.split("\\s+"); since the TSPLib sometimes separates coordinates using more than one space (to keep the column alignment consistent) and just using spaces can make files unreadable.

thiagodnf commented 6 years ago

Hello @Barbapoulpe

How are you?

Thanks a lot for your comment. I just committed this suggestion and I coded some unit tests.