On the test that I'm studying for I have a problem to solve but I don't know how to solve that. The problem is the following:
I have various piles of square stones and I need to organize that to...
Type: Posts; User: Taturana182
On the test that I'm studying for I have a problem to solve but I don't know how to solve that. The problem is the following:
I have various piles of square stones and I need to organize that to...
@tabstop
Hum, ok. But on a test I'm studying for, there's a problem such that: The user inputs data telling me the number of points, the connections between these points (and it's distance) then I...
@rodrigorules
Thank you for the link, it will help me...
@tabstop
Hum, I think I was wrong, it doesn't solve the TSP... But what it solves then? In wikipedia it says:
#define OO 2000000;
int tsp(int **adjMatrix, int numberPoints)
{
for (int i = 0; i < numberPoints; i++)
for (int j = 0; j < numberPoints; j++)
for (int k = 0; k < numberPoints; k++)...