Used to store the algorithm to solve the TSP problem with java language.