Created
April 24, 2009 02:21
-
-
Save ocharles/100889 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ollie@ollie-desktop tsp (master)]$ perl tsp.pl lol | |
Attempting to calculate best root between 3 cities. | |
Stopping after 10 stable runs. | |
Best distance | Route | |
.---------------+----------------. | |
| 7.09 | 1 -> 0 -> 2 | | |
| 7.09 | 1 -> 0 -> 2 | | |
| 6.86 | 0 -> 1 -> 2 | | |
| 6.86 | 0 -> 1 -> 2 | | |
| 5.97 | 2 -> 0 -> 1 | | |
| 5.97 | 2 -> 0 -> 1 | | |
| 5.97 | 2 -> 0 -> 1 | | |
| 5.97 | 2 -> 0 -> 1 | | |
| 5.97 | 2 -> 0 -> 1 | | |
| 5.97 | 2 -> 0 -> 1 | | |
| 5.97 | 2 -> 0 -> 1 | | |
| 5.97 | 2 -> 0 -> 1 | | |
| 5.97 | 2 -> 0 -> 1 | | |
| 5.97 | 2 -> 0 -> 1 | | |
| 5.97 | 2 -> 0 -> 1 | | |
'---------------+----------------' | |
Best route (remained stable): 2 -> 0 -> 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment