Auto Commit
This commit is contained in:
@@ -48,7 +48,7 @@ std::vector<double> MakePermutationMatrix::MakePermutation(std::vector<City> sou
|
|||||||
//Push permutation cost to the localCostVector.
|
//Push permutation cost to the localCostVector.
|
||||||
localCostVector.push_back(cost);
|
localCostVector.push_back(cost);
|
||||||
counter++;
|
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.
|
// //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]);
|
||||||
|
|||||||
Reference in New Issue
Block a user