Auto Commit

This commit is contained in:
2020-03-30 10:57:23 -06:00
parent 42da8e14f9
commit 838f8b177c

View File

@@ -28,13 +28,13 @@ std::vector<double> MakePermutationMatrix::MakePermutation(std::vector<City> sou
do {
double cost;
//Add up the cost of the current permutation.
std::cout << "myPerm.size() " << myPerm.size() << std::endl;
std::cout << "source.size() " << source.size() << std::endl;
std::cout << "offset " << offset << std::endl;
std::cout << "rank " << rank << " myPerm.size() " << myPerm.size() << std::endl;
std::cout << "rank " << rank << "source.size() " << source.size() << std::endl;
std::cout << "rank " << rank << "offset " << offset << std::endl;
for (int i = 1; i < myPerm.size(); i++) {
cost += costMatrix[myPerm[i].GetName()][myPerm[i-1].GetName()];
std::cout << myPerm[i].GetName() << " ";
std::cout << "rank " << rank << myPerm[i].GetName() << " ";
}
std::cout << std::endl;
//Push permutation cost to the localCostVector.