Auto Commit

This commit is contained in:
2020-03-30 19:21:01 -06:00
parent 76e65d722f
commit 3feb649fdc

View File

@@ -47,7 +47,7 @@ std::vector<double> MakePermutationMatrix::MakePermutation(std::vector<City> sou
//Push permutation cost to the localCostVector.
localCostVector.push_back(cost);
counter++;
} while (std::next_permutation(myPerm.begin(), myPerm.end()));
} while (std::next_permutation(myPerm.begin(), myPerm.end()) && myPerm != nextPerm);
// //find the lowest and add it to a lowest vector.
// auto lowest = std::vector<double>(1,localCostVector[0]);