FelipeGuimaraes42 / ti1-heuristics

Constructive Heruistic TSP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

First Implementation Work

Heuristics and Metaheuristics

How to Run

To run this project, you need to first use the following command to compile the project (inside the src directory):

g++ -o main main.cpp InputFile.cpp NearestNeighborsSearch.cpp

After compiling, you need to run the executable passing a file.tsp inside the testCases directory

./main ../testCases/berlin52.tsp

Response

The code response 3 fields:

  • the name of the file;
  • the distance method;
  • the heuristic response

About

Constructive Heruistic TSP


Languages

Language:C++ 100.0%