Auto Commit

This commit is contained in:
2020-03-30 10:54:59 -06:00
parent 8cce95635c
commit 42da8e14f9

View File

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