Auto Commit

This commit is contained in:
2020-03-30 21:38:41 -06:00
parent badd953214
commit 66ae71be5a

View File

@@ -35,6 +35,9 @@ std::vector<double> MakePermutationMatrix::MakePermutation(std::vector<City> sou
std::cout << nextPerm[i].GetName() << " "; std::cout << nextPerm[i].GetName() << " ";
} }
std::cout << std::endl; std::cout << std::endl;
if(rank == size-1){
nextPerm = source;
}
do { do {
double cost = 0; double cost = 0;
//Add up the cost of the current permutation. //Add up the cost of the current permutation.