Auto Commit

This commit is contained in:
2020-03-30 10:45:08 -06:00
parent 6afb3a6e54
commit b6e377a392

View File

@@ -28,6 +28,7 @@ std::vector<double> MakePermutationMatrix::MakePermutation(std::vector<City> sou
do {
double cost;
//Add up the cost of the current permutation.
std::cout << "in the Do While" << std::endl;
for (int i = 1; i < myPerm.size(); i++) {
cost += costMatrix[myPerm[i].GetName()][myPerm[i-1].GetName()];
std::cout << myPerm[i].GetName() << " ";